aboutsummaryrefslogtreecommitdiff
path: root/ci/tsan.sh
diff options
context:
space:
mode:
authorHaibo Huang <hhb@google.com>2020-07-17 17:53:16 -0700
committerHaibo Huang <hhb@google.com>2020-07-17 17:53:16 -0700
commit293e2aa580e5695f179507500738a4c8fc65ad82 (patch)
tree50b5094b1c55ce2b1bdc01c11e9a741031561006 /ci/tsan.sh
parent9e908cd8b17b2231e6f526b68c7f2e830422f04d (diff)
downloadbytes-293e2aa580e5695f179507500738a4c8fc65ad82.tar.gz
Upgrade rust/crates/bytes to 0.5.6
Change-Id: Ib95c402dc50956f33008f634e79291a91157cc8d
Diffstat (limited to 'ci/tsan.sh')
-rw-r--r--ci/tsan.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/ci/tsan.sh b/ci/tsan.sh
index 7e5b3be..ca520bd 100644
--- a/ci/tsan.sh
+++ b/ci/tsan.sh
@@ -2,9 +2,7 @@
set -ex
-export RUST_TEST_THREADS=1
export ASAN_OPTIONS="detect_odr_violation=0 detect_leaks=0"
-export TSAN_OPTIONS="suppressions=$(pwd)/ci/tsan"
# Run address sanitizer
RUSTFLAGS="-Z sanitizer=address" \
@@ -12,4 +10,4 @@ cargo test --target x86_64-unknown-linux-gnu --test test_bytes --test test_buf -
# Run thread sanitizer
RUSTFLAGS="-Z sanitizer=thread" \
-cargo test --target x86_64-unknown-linux-gnu --test test_bytes --test test_buf --test test_buf_mut
+cargo -Zbuild-std test --target x86_64-unknown-linux-gnu --test test_bytes --test test_buf --test test_buf_mut