Skip to content

Commit ca052ee

Browse files
committed
Use clang-10 for WASM build
A user reported that WASM only used to work with `clang-10`, I cannot verify this but lets use v10 anyways.
1 parent e750f82 commit ca052ee

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/rust.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
- name: Checkout Crate
6565
uses: actions/checkout@v2
6666
- name: Install clang
67-
run: sudo apt-get install -y clang-9
67+
run: sudo apt-get install -y clang-10
6868
- name: Checkout Toolchain
6969
uses: actions-rs/toolchain@v1
7070
with:

contrib/test.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ if [ "$DO_WASM" = true ]; then
7272
clang --version
7373
CARGO_TARGET_DIR=wasm cargo install --force wasm-pack
7474
printf '\n[lib]\ncrate-type = ["cdylib", "rlib"]\n' >> Cargo.toml
75-
CC=clang-9 wasm-pack build
76-
CC=clang-9 wasm-pack test --node
75+
CC=clang wasm-pack build
76+
CC=clang wasm-pack test --node
7777
fi
7878

7979
# Address Sanitizer

0 commit comments

Comments
 (0)