summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCheng Shao <terrorjack@type.dance>2023-03-27 16:48:21 +0000
committerCheng Shao <terrorjack@type.dance>2023-03-30 18:43:53 +0000
commit30c84511af8ad70705bbde98d0ba73cdbb1d8565 (patch)
tree34b8a5486c56e59d406fdf8e74ef4aacba67ea8a
parentee160d067fe319d73f64c8131c11873d6e065152 (diff)
downloadhaskell-30c84511af8ad70705bbde98d0ba73cdbb1d8565.tar.gz
testsuite: don't add optllvm way for wasm32
-rw-r--r--testsuite/config/ghc2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/config/ghc b/testsuite/config/ghc
index 1821d5a572..bff98d0598 100644
--- a/testsuite/config/ghc
+++ b/testsuite/config/ghc
@@ -70,7 +70,7 @@ if windows:
config.other_ways += winio_ways
# LLVM
-if not config.unregisterised and not config.arch == "javascript" and config.have_llvm:
+if not config.unregisterised and not config.arch in {"wasm32", "javascript"} and config.have_llvm:
config.compile_ways.append('optllvm')
config.run_ways.append('optllvm')