dyon icon indicating copy to clipboard operation
dyon copied to clipboard

How to import module?

Open 0b01 opened this issue 5 years ago • 1 comments

How can I import lib from main without using loader?

0b01 avatar Dec 17 '18 02:12 0b01

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.

bvssvni avatar Dec 17 '18 08:12 bvssvni