Define WASM_RT_TRAP_HANDLER

This commit is contained in:
刘皓 2024-12-30 14:12:52 -05:00
parent d5de2c0c25
commit 765afcaaa1
No known key found for this signature in database
GPG key ID: 7901753DB465B711

View file

@ -61,6 +61,7 @@ if get_option('retro') == true
'-Wno-unused-value',
'-Wno-unused-variable',
'-Wno-unused-but-set-variable',
'-DWASM_RT_TRAP_HANDLER=mkxp_sandbox_trap_handler',
],
link_args: [
'-Wl,--no-undefined',