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

Error : running wasmer aot file #5009

Closed
subhakr opened this issue Aug 13, 2024 · 1 comment · Fixed by #5039
Closed

Error : running wasmer aot file #5009

subhakr opened this issue Aug 13, 2024 · 1 comment · Fixed by #5039
Assignees

Comments

@subhakr
Copy link

subhakr commented Aug 13, 2024

Describe the bug

After compiling wamser to aot (i.e, wasmc), when running the .wasmc i am getting error

image

wasmer -vV;
wasmer 4.3.1 (d5df452 2024-05-23)
binary: wasmer-cli
commit-hash: d5df452
commit-date: 2024-05-23
host: x86_64-unknown-linux-gnu
compiler: singlepass,cranelift,llvm

rustc -vV
rustc 1.80.1 (3f5fd8dd4 2024-08-06)
binary: rustc
commit-hash: 3f5fd8dd41153bc5fdca9427e9e05be2c767ba23
commit-date: 2024-08-06
host: x86_64-unknown-linux-gnu
release: 1.80.1
LLVM version: 18.1.7

Steps to reproduce

To compile wasmer to aot

$ wasmer compile hi.wasm -o hi.wasmc

To run :

$ wasmer run hi.wasmc

Expected behavior

Wasmer should execute the .wasmc.

Actual behavior

error: module hash is not present in the artifact.
image

@syrusakbary
Copy link
Member

This is a duplicate of #5006. Closing this issue in favor of the older one

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

Successfully merging a pull request may close this issue.

3 participants