ladybird/Libraries/LibWasm/CMakeLists.txt
Ali Mohammad Pur 51bab5b186 LibWasm: Make traps hold on to externally-managed data
...instead of specially handling JS::Completion.
This makes it possible for LibWeb/LibJS to have full control over how
these things are made, stored, and visited (whenever).

Fixes an issue where we couldn't roundtrip a JS exception through Wasm.
2025-04-22 08:43:46 -06:00

17 lines
380 B
CMake

set(SOURCES
AbstractMachine/AbstractMachine.cpp
AbstractMachine/BytecodeInterpreter.cpp
AbstractMachine/Configuration.cpp
AbstractMachine/Validator.cpp
Parser/Parser.cpp
Printer/Printer.cpp
)
if (NOT WIN32)
list(APPEND SOURCES WASI/Wasi.cpp)
endif()
serenity_lib(LibWasm wasm)
target_link_libraries(LibWasm PRIVATE LibCore)
include(wasm_spec_tests)