Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit a7ece9e

Browse files
committedMar 26, 2024··
CI: Temporarily isable MSAN
There is a bug in the memory sanitizer at the moment, for more info see - rust-bitcoin/rust-bitcoin#2600 - rust-bitcoin/rust-bitcoin#2579 As we did in `rust-bitcoin` temporarily disable MSAN in CI.
1 parent fb676dc commit a7ece9e

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed
 

‎contrib/_test.sh

+6-3
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,12 @@ if [ "$DO_ASAN" = true ]; then
9797
cargo clean
9898
# The -Cllvm-args=-msan-eager-checks=0 flag was added to overcome this issue:
9999
# https://github.com/rust-bitcoin/rust-secp256k1/pull/573#issuecomment-1399465995
100-
CC='clang -fsanitize=memory -fno-omit-frame-pointer' \
101-
RUSTFLAGS='-Zsanitizer=memory -Zsanitizer-memory-track-origins -Cforce-frame-pointers=yes -Cllvm-args=-msan-eager-checks=0' \
102-
cargo test --lib --all --features="$FEATURES" -Zbuild-std --target x86_64-unknown-linux-gnu
100+
#
101+
# There is currently a bug in the MemorySanitizer (MSAN) - disable the job for now.
102+
#
103+
# CC='clang -fsanitize=memory -fno-omit-frame-pointer' \
104+
# RUSTFLAGS='-Zsanitizer=memory -Zsanitizer-memory-track-origins -Cforce-frame-pointers=yes -Cllvm-args=-msan-eager-checks=0' \
105+
# cargo test --lib --all --features="$FEATURES" -Zbuild-std --target x86_64-unknown-linux-gnu
103106

104107
pushd "$REPO_DIR/no_std_test" > /dev/null || exit 1
105108
# See https://github.com/rust-bitcoin/rust-secp256k1/pull/641#issuecomment-1671598914

0 commit comments

Comments
 (0)
Please sign in to comment.