Skip to content

Commit 1e229b3

Browse files
committed
Run correct clang --version
For the test that uses `clang-9` do the sanity call using `clang-9` instead of `clang`. For the test that uses `clang` add a sanity call to `clang --version`.
1 parent c999b60 commit 1e229b3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

contrib/test.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ fi
6969

7070
# Webassembly stuff
7171
if [ "$DO_WASM" = true ]; then
72-
clang --version
72+
clang-9 --version
7373
CARGO_TARGET_DIR=wasm cargo install --force wasm-pack
7474
printf '\n[lib]\ncrate-type = ["cdylib", "rlib"]\n' >> Cargo.toml
7575
CC=clang-9 wasm-pack build
@@ -78,6 +78,7 @@ fi
7878

7979
# Address Sanitizer
8080
if [ "$DO_ASAN" = true ]; then
81+
clang --version
8182
cargo clean
8283
CC='clang -fsanitize=address -fno-omit-frame-pointer' \
8384
RUSTFLAGS='-Zsanitizer=address -Clinker=clang -Cforce-frame-pointers=yes' \

0 commit comments

Comments
 (0)