wasmerio / wasmer

🚀 The leading Wasm Runtime supporting WASIX and WASI
https://wasmer.io
MIT License
18.88k stars 808 forks source link

Unsupported ref types in ArgumentRegisterAllocator #4169

Open yarikbratashchuk opened 1 year ago

yarikbratashchuk commented 1 year ago

Hello,

Here is a code that crashes on todo! macro:

    let wasm_bytes = wat2wasm(r#"
        (module
            (type $t0 (func (param funcref externref)))
            (import "" "" (func $hello (type $t0)))
        )
        "#.as_bytes(),
    )?;

    let compiler = Singlepass::default();
    let mut store = Store::new(compiler);

    let module = Module::new(&store, wasm_bytes)?;
stale[bot] commented 2 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.