You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ wasmer --version --verbosewasmer 3.0.0 (3a105 2022-11-20)binary: wasmer-clicommit-hash: 3a105194470a955ba663509fc8dae60d3085717ccommit-date: 2022-11-20host: x86_64-unknown-linux-gnucompiler: singlepass,cranelift,llvm
$ wget https://registry-cdn.wapm.io/packages/f0rodo/rusty/rusty-1.0.0.webc
$ wasmer run wasmer/[email protected] --dir . -- show ./rusty-1.0.0.webcError: Unable to load the packageCaused by: no "atom" or "wasi.atom" or "emscripten.atom" found in command Command { runner: "https://webc.org/runner/wasm4/command@unstable_", annotations: { "wasm4": Map( { Text( "atom", ): Text( "rusty", ), Text( "package", ): Null, Text( "main_args", ): Null, }, ), }, }
Ideally, the webc crate's get_atom_name_for_command() function would use the manifest to figure out the atom's ABI automatically, but in the meantime we should skip wasm4 commands when generating bindings.
The text was updated successfully, but these errors were encountered:
It looks like we blindly assume all commands are WASI when inspecting a
*.webc
file.You can reproduce this using the
f0rodo/[email protected]
package.Ideally, the
webc
crate'sget_atom_name_for_command()
function would use the manifest to figure out the atom's ABI automatically, but in the meantime we should skipwasm4
commands when generating bindings.The text was updated successfully, but these errors were encountered: