File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 22
33set -ex
44
5+ REPO_DIR=$( git rev-parse --show-toplevel)
56FEATURES=" bitcoin-hashes global-context lowmemory rand recovery serde std alloc bitcoin-hashes-std rand-std"
67
78cargo --version
@@ -108,6 +109,12 @@ if [ "$DO_ASAN" = true ]; then
108109 CC=' clang -fsanitize=memory -fno-omit-frame-pointer' \
109110 RUSTFLAGS=' -Zsanitizer=memory -Zsanitizer-memory-track-origins -Cforce-frame-pointers=yes -Cllvm-args=-msan-eager-checks=0' \
110111 cargo test --lib --all --features=" $FEATURES " -Zbuild-std --target x86_64-unknown-linux-gnu
112+
113+ pushd " $REPO_DIR /no_std_test" > /dev/null || exit 1
114+ # See https://github.com/rust-bitcoin/rust-secp256k1/pull/641#issuecomment-1671598914
115+ cargo update -p cc --precise 1.0.79
116+ popd > /dev/null || exit 1
117+
111118 cargo run --release --manifest-path=./no_std_test/Cargo.toml | grep -q " Verified Successfully"
112119 cargo run --release --features=alloc --manifest-path=./no_std_test/Cargo.toml | grep -q " Verified alloc Successfully"
113120fi
You can’t perform that action at this time.
0 commit comments