about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2024-11-10 14:27:06 +0100
committerAmanieu d'Antras <amanieu@gmail.com>2024-11-10 21:49:11 +0800
commit889a29248b31819d775fa0b69b3ee8f3ddd05fbc (patch)
treeb961d50bf8ba3929437a09c46d405adf2561ed2d
parent2d925a2908a69b68c5c4b7e575896e3677e4bb90 (diff)
downloadrust-889a29248b31819d775fa0b69b3ee8f3ddd05fbc.tar.gz
rust-889a29248b31819d775fa0b69b3ee8f3ddd05fbc.zip
move wasm comment to a better place
-rwxr-xr-xlibrary/stdarch/ci/run.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/stdarch/ci/run.sh b/library/stdarch/ci/run.sh
index dc9fe296dc9..8cdc1d411ac 100755
--- a/library/stdarch/ci/run.sh
+++ b/library/stdarch/ci/run.sh
@@ -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"
             ;;