File tree Expand file tree Collapse file tree 2 files changed +13
-15
lines changed Expand file tree Collapse file tree 2 files changed +13
-15
lines changed Original file line number Diff line number Diff line change @@ -83,21 +83,6 @@ if [ "$DO_DOCS" = true ]; then
8383 RUSTDOCFLAGS=" -D warnings" cargo +stable doc --all-features
8484fi
8585
86- # Webassembly stuff
87- if [ " $DO_WASM " = true ]; then
88- clang --version
89- CARGO_TARGET_DIR=wasm cargo install --force wasm-pack
90-
91- cp Cargo.toml orig-Cargo.toml
92- printf ' \n[lib]\ncrate-type = ["cdylib", "rlib"]\n' >> Cargo.toml
93-
94- CC=clang wasm-pack build
95- CC=clang wasm-pack test --node
96-
97- rm Cargo.toml
98- mv orig-Cargo.toml Cargo.toml
99- fi
100-
10186# Address Sanitizer
10287if [ " $DO_ASAN " = true ]; then
10388 clang --version
Original file line number Diff line number Diff line change @@ -6,6 +6,19 @@ REPO_DIR=$(git rev-parse --show-toplevel)
66
77DEPS=" recent minimal"
88
9+ # Webassembly stuff
10+ if [ " $DO_WASM " = true ]; then
11+ clang --version
12+ CARGO_TARGET_DIR=wasm cargo install --force wasm-pack
13+
14+ printf ' \n[lib]\ncrate-type = ["cdylib", "rlib"]\n' >> Cargo.toml
15+
16+ CC=clang wasm-pack build
17+ CC=clang wasm-pack test --node
18+
19+ exit 0
20+ fi
21+
922for dep in $DEPS
1023do
1124 cp " Cargo-$dep .lock" Cargo.lock
You can’t perform that action at this time.
0 commit comments