CI: Do not cache /target folder when testing with sanitizers.
@@ -43,6 +43,8 @@ matrix:
- RUSTFLAGS="-Z sanitizer=address" ASAN_OPTIONS="detect_odr_violation=0" cargo test --no-default-features --features nightly --tests --release --target x86_64-unknown-linux-gnu
- RUSTFLAGS="-Z sanitizer=leak" cargo test --no-default-features --features nightly --tests --release --target x86_64-unknown-linux-gnu
+ - cargo clean
+
- name: "[RELEASE + DEBUG]: Tests"
rust: nightly
script:
