crun icon indicating copy to clipboard operation
crun copied to clipboard

crun +WASM:wasmer can't run wasix modules

Open JohnFrrr opened this issue 2 years ago • 2 comments

fn main() {
    println!("Hello, world!");
}

if I build the above Rust code as a wasm module with cargo build --target wasm32-wasi --release its image is successfully executed by crun. if I build it with cargo wasix build --release the wasm container returns the error [libcrun:wasmer]: error getting WASI imports

Is it expected that crun +WASM:wasmer doesn't have wasix support yet?

JohnFrrr avatar Oct 22 '23 22:10 JohnFrrr

@flouthoc PTAL

rhatdan avatar Oct 23 '23 12:10 rhatdan

Recently wasmer handler was modified to use new API but let me very this again. Thanks for creating the issue. I'll check this.

flouthoc avatar Oct 25 '23 04:10 flouthoc