File tree 1 file changed +7
-0
lines changed
1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 2
2
3
3
set -ex
4
4
5
+ REPO_DIR=$( git rev-parse --show-toplevel)
5
6
FEATURES=" bitcoin-hashes global-context lowmemory rand recovery serde std alloc bitcoin-hashes-std rand-std"
6
7
7
8
cargo --version
@@ -108,6 +109,12 @@ if [ "$DO_ASAN" = true ]; then
108
109
CC=' clang -fsanitize=memory -fno-omit-frame-pointer' \
109
110
RUSTFLAGS=' -Zsanitizer=memory -Zsanitizer-memory-track-origins -Cforce-frame-pointers=yes -Cllvm-args=-msan-eager-checks=0' \
110
111
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
+
111
118
cargo run --release --manifest-path=./no_std_test/Cargo.toml | grep -q " Verified Successfully"
112
119
cargo run --release --features=alloc --manifest-path=./no_std_test/Cargo.toml | grep -q " Verified alloc Successfully"
113
120
fi
You can’t perform that action at this time.
0 commit comments