move wasm comment to a better place

This commit is contained in:
Ralf Jung 2024-11-10 14:27:06 +01:00 committed by Amanieu d'Antras
parent 2d925a2908
commit 889a29248b

View file

@ -75,10 +75,10 @@ cargo_test() {
cmd="$cmd ${subcmd} --target=$TARGET $1"
cmd="$cmd -- $2"
# wasm targets can't catch panics so if a test failures make sure the test
# harness isn't trying to capture output, otherwise we won't get any useful
# output.
case ${TARGET} in
# wasm targets can't catch panics so if a test failures make sure the test
# harness isn't trying to capture output, otherwise we won't get any useful
# output.
wasm32*)
cmd="$cmd --nocapture"
;;