[clang] [llvm] Enable running ClangReplInterpreterTests in an Emscripten environment (PR #150977)

Anutosh Bhat via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 29 20:51:44 PDT 2025


================
@@ -29,8 +29,9 @@ Target &llvm::getTheWebAssemblyTarget64() {
 
 extern "C" LLVM_ABI LLVM_EXTERNAL_VISIBILITY void
 LLVMInitializeWebAssemblyTargetInfo() {
-  RegisterTarget<Triple::wasm32> X(getTheWebAssemblyTarget32(), "wasm32",
-                                   "WebAssembly 32-bit", "WebAssembly");
+  RegisterTarget<Triple::wasm32, /*HasJIT=*/true> X(
----------------
anutosh491 wrote:

> do you have any issues with me skipping the hostsupportsjit check for the tests 

Yes we can start with that.

https://github.com/llvm/llvm-project/pull/150977


More information about the llvm-commits mailing list