File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ run() {
50
50
-v " $( pwd) /target:/builtins-target"
51
51
-v " $( rustc --print sysroot) :/rust:ro"
52
52
)
53
- run_cmd=" $run_cmd PATH=\$ PATH:/rust/bin"
53
+ run_cmd=" $run_cmd PATH=\$ PATH:/rust/bin:/cargo/bin "
54
54
else
55
55
# Use rustc provided by a docker image
56
56
docker volume create compiler-builtins-cache
Original file line number Diff line number Diff line change 229
229
# Make sure a simple build works
230
230
cargo check -p libm --no-default-features --target " $target "
231
231
232
-
233
232
if [ " ${BUILD_ONLY:- } " = " 1" ]; then
234
233
# If we are on targets that can't run tests, verify that we can build.
235
234
cmd=(cargo build --target " $target " --package libm)
255
254
cmd+=(--config-file " $cfg_file " )
256
255
fi
257
256
257
+ # Not all configurations have tests to run on wasm
258
+ [[ " $target " = * " wasm" * ]] && cmd+=(--no-tests=warn)
259
+
258
260
cmd+=(" ${mflags[@]} " )
259
261
profile_flag=" --cargo-profile"
260
262
fi
You can’t perform that action at this time.
0 commit comments