Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crun +WASM:wasmer can't run wasix modules #1329

Open
JohnFrrr opened this issue Oct 22, 2023 · 2 comments
Open

crun +WASM:wasmer can't run wasix modules #1329

JohnFrrr opened this issue Oct 22, 2023 · 2 comments
Assignees

Comments

@JohnFrrr
Copy link

JohnFrrr commented Oct 22, 2023

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?

@rhatdan
Copy link
Member

rhatdan commented Oct 23, 2023

@flouthoc PTAL

@flouthoc
Copy link
Collaborator

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 flouthoc self-assigned this Oct 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants