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

Closed
JohnFrrr opened this issue Oct 22, 2023 · 6 comments
Closed

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

JohnFrrr opened this issue Oct 22, 2023 · 6 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
@giuseppe
Copy link
Member

giuseppe commented Mar 4, 2025

@flouthoc is this still relevant?

@flouthoc
Copy link
Collaborator

flouthoc commented Mar 4, 2025

wasix support is still not in crun i am wondering if we should wait for more request on this issue and then look into it ?

@giuseppe
Copy link
Member

giuseppe commented Mar 5, 2025

if anyone really cares, they can open a PR to add support for it.

@flouthoc
Copy link
Collaborator

flouthoc commented Mar 5, 2025

That sounds fair, then I guess we can close this for now.

@rhatdan rhatdan closed this as completed Mar 6, 2025
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

4 participants