dyon
dyon copied to clipboard
How to import module?
How can I import lib from main without using loader?
You can load libs manually and call them, but that's the same as writing a loader.
You can load libs manually in Rust too, but that's, kind of, also the same as writing a loader.
Dyon does not have support for importing modules without a loader. It's mostly because a module should work whether its functions are re-written in Rust, loaded from an url or somewhere else etc.