Doru Blânzeanu said:
I tried removing
craneliftfrom wasmtime when pre-compiling the modules/components, but theprecompile_moduleandprecompile_componentAPIs from wasmtime were no longer exposed.I haven't seen any other option to precompile when
craneliftwas not enabled
When you disable the cranelift feature when running wasmtime, the intend it that you compile the modules with a different build of the same wasmtime version that has the cranelift feature enabled. So for example you compile it on a regular Linux machine and then run on a microcontroller or in your case hyperlight vm.
Edit: missed the rest of the messages.
Yes, I got confused, it works!
I think I had some incompatible config (compiling with some configuration and running with another). I've re-done the changes and it works.
Thanks everyone for the help!
Doru Blânzeanu has marked this topic as resolved.
Last updated: Feb 24 2026 at 04:36 UTC