Stream: wasmtime

Topic: Cross-compilation of pre-compiled module


view this post on Zulip Friedrich Vandenberghe (May 29 2026 at 07:25):

I would like to run precompile_module with an aarch64 target in the Config on a x86_64 machine. But this returns the following error: Error: Support for this target is disabled.

According to the docs, it should be possible to perform a cross-compilation in combination with precompile_module. So, am I missing something? Should I do something extra besides setting the target?

view this post on Zulip Friedrich Vandenberghe (May 29 2026 at 07:55):

OK, so a colleague just pointed me to the all-arch crate feature and after turning that one on it works. Is it OK if I add it to the docs of precompile_module and target that these can require the all-arch feature?

view this post on Zulip Till Schneidereit (May 29 2026 at 13:07):

yes, please do!


Last updated: Jul 29 2026 at 05:03 UTC