Stream: wasmtime

Topic: Implementation limit exceeded


view this post on Zulip Jakub Hlusička (May 19 2020 at 13:56):

Hello! I can run wasmtime with my WASM module just fine on Linux, but on Windows, I get the error "Compilation error: Implementation limit exceeded" during the creation of a module using "Module::new_with_name". Any idea what this could be caused by?

view this post on Zulip Alex Crichton (May 19 2020 at 14:02):

@Jakub Hlusička you're likely running into https://github.com/bytecodealliance/wasmtime/issues/1587

I ran across this uptream in cargo-wasi, but this fails to work in this repository, but only on Windows: $ echo "#[test] fn foo() {}" >> foo.rs $ rustc foo.rs --target wasm32-wasi -...

view this post on Zulip Jakub Hlusička (May 19 2020 at 14:13):

Thanks, I will keep an eye on the issue. :)

view this post on Zulip Peter Huene (May 20 2020 at 22:49):

Hi @Jakub Hlusička. I've put up a fix for the issue that will hopefully get merged after review.

view this post on Zulip Peter Huene (May 20 2020 at 22:50):

The PR is here: https://github.com/bytecodealliance/wasmtime/pull/1734

This PR fixes both how FPR callee-saved registers are saved and how the shadow space allocation occurs when laying out the stack for Windows x64 calling convention. Importantly, this PR removes the...

view this post on Zulip Jakub Hlusička (May 24 2020 at 14:13):

Thank you for fixing the issue, it seems to be working properly now! :)


Last updated: Nov 22 2024 at 17:03 UTC