Skip to content

wasmer.sh: Rust builds via cargo wasix build can't load from bash #464

@TheNotary

Description

@TheNotary

I am enthralled with wasmer.sh, but I'm having trouble building rust projects to be invoked from the bash command line. When I build via cargo wasix build --release I get an error

Error: Unable to initialize the context and store
at _.wbg.__wbg_new_28c511d9baebfa89 (index-CgFg6VHw.js:17:1855)...

You can reproduce this in the browser via these params and attempting to run hello which works, and hello-wasix which will fail in Chrome.

Here's the hello-wasix source if that helps.

Why do you think bash wouldn't be compatible with the wasix builds?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions