mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-08 12:56:23 +03:00
6b50f23242
Imported functions in Wasm may throw JS exceptions, and we need to preserve these exceptions so we can pass them to the calling JS code. This also adds a `assert_wasm_result()` API to Result for cases where only Wasm traps or values are expected (e.g. internal uses) to avoid making LibWasm (pointlessly) handle JS exceptions that will never show up in reality.
3 lines
125 B
CMake
3 lines
125 B
CMake
serenity_testjs_test(test-wasm.cpp test-wasm LIBS LibWasm LibJS)
|
|
install(TARGETS test-wasm RUNTIME DESTINATION bin OPTIONAL)
|