Cranelift: 主机抛出的异常未被 try_table 捕获, "未捕获的异常"
作者: khagankhan创建于 2026年9月25日更新于 2026年9月29日
//! A WebAssembly exception thrown by a host function (Exception::new +
//! RuntimeError::exception, with a Tag created on the host and imported by
//! the module) is not delivered to the module's handlers with the Cranelift
//! backend: neither catch $tag nor catch_all runs, and the call returns
//! "uncaught exception". Expected (and what the LLVM backend and other
//! engines do): catch_tag returns the payload 77,
内容来源: wasmerio/wasmer