I'm not totally on top of wasm things but it seems like FFI is (currently? permanently?) disabled over there by BF_DISABLE_FFI in Internal.cpp.
In this case, bf::System::FFI::FFIResult bf::System::FFI::FFILIB::PrepCif just returns 0, which is .Ok, which doesn't seem ideal because the Beef program has no idea its method invoke actually (sort of) failed.
Stumbled across it here: EinScott/bon#4 in the context of TypeInstance.CreateObject
Sorry if I'm missing anything, I basically ignored the wasm stuff until now, hope this is helpful.
I'm not totally on top of wasm things but it seems like FFI is (currently? permanently?) disabled over there by BF_DISABLE_FFI in Internal.cpp.
In this case,
bf::System::FFI::FFIResult bf::System::FFI::FFILIB::PrepCifjust returns 0, which is .Ok, which doesn't seem ideal because the Beef program has no idea its method invoke actually (sort of) failed.Stumbled across it here: EinScott/bon#4 in the context of TypeInstance.CreateObject
Sorry if I'm missing anything, I basically ignored the wasm stuff until now, hope this is helpful.