#7036·wasmer

Cranelift: Exception::payload() 会将第一个值之后的所有值置零

作者: khagankhan创建于 2026年9月25日更新于 2026年9月29日

//! An exception with an (f32 f64) payload thrown by the module and escaping //! to the host: RuntimeError::to_exception() gives the exception, but //! Exception::payload() returns the f64 as 0.0 with the Cranelift backend //! (the f32 is right). Expected: [F32(-1.5), F64(121894.0)], which the //! LLVM backend and other engines give.

内容来源: wasmerio/wasmer