From dd177fdd33c3fd1964fed655e0e147f368c82f5f Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Mon, 10 Aug 2026 15:42:19 -0700 Subject: [PATCH] Skip exceptions + shared libs tests Known to not work for now --- tests/CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 515a499..1ed6780 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -130,6 +130,13 @@ function(add_testcase test) target_compile_options(${target_name} PRIVATE -fwasm-exceptions -mllvm -wasm-use-legacy-eh=false) target_link_options(${target_name} PRIVATE -fwasm-exceptions -lunwind) + + # FIXME(WebAssembly/tool-conventions#270): exceptions require + # cross-thread TLS to work right now, but that's known to not work, + # so skip this test. + if(link_style MATCHES shared) + continue() + endif() else() target_compile_options(${target_name} PRIVATE -fno-exceptions) endif()