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?
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?
yes, please do!
Last updated: Jul 29 2026 at 05:03 UTC