Is it possible to dynamically load a wasm + wit file and execute a function at runtime,rather than it being compiled in with the import! macro?
Similar to the .typed::<(...), (...), _>() method but with the more advanced wit types?
In my case, I know the parameters and return type of the function will always be primitives (either string, i64, f64, bool or Vec<u8>, Option, Result).
I think I won't go down the route of trying to make things dynamic
Ari Seyhun has marked this topic as resolved.
Last updated: Dec 06 2025 at 05:03 UTC