File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -138,8 +138,10 @@ matrix:
138
138
addons :
139
139
chrome : stable
140
140
script :
141
- # testing wasm32-unknown-emscripten fails because of rust-lang/rust#49877
142
- - cargo build --target wasm32-unknown-emscripten
141
+ # Testing wasm32-unknown-emscripten fails because of rust-lang/rust#49877
142
+ # However, we can still build and link all tests to make sure that works.
143
+ # This is actually useful as it finds stuff such as rust-random/rand#669
144
+ - EMCC_CFLAGS="-s ERROR_ON_UNDEFINED_SYMBOLS=0" cargo web test --target wasm32-unknown-emscripten --no-run
143
145
# - cargo web test --target wasm32-unknown-emscripten
144
146
# - cargo web test --nodejs --target wasm32-unknown-emscripten
145
147
- cargo build --target wasm32-unknown-unknown # without any features
You can’t perform that action at this time.
0 commit comments