Skip to content
New issue

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

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

Already on GitHub? # to your account

Constant module recompilation when using Cranelift #5242

Open
linear bot opened this issue Nov 11, 2024 · 0 comments
Open

Constant module recompilation when using Cranelift #5242

linear bot opened this issue Nov 11, 2024 · 0 comments
Assignees

Comments

@linear
Copy link

linear bot commented Nov 11, 2024

When trying to run one of the wasi-fyi tests, namely fs_remove_dir_all, I noticed it always gets compiled, evident by the cranelift log when using RUST_LOG=trace. This happens despite the sha256 checksum of the .wasm file staying the same.

Since I don't see the output of the module, I'm guessing sth goes wrong during compilation and the runtime does not get to actually cache and run it.

This does not happen when using --singlepass or --llvm.

@linear linear bot assigned xdoardo Nov 11, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant