archseer / enigma

An Erlang VM implementation in Rust
Mozilla Public License 2.0
1.05k stars 40 forks source link

no_std compatibility #10

Open archseer opened 5 years ago

archseer commented 5 years ago

We currently rely on some parts of std, but having a no_std build would be interesting for embedded devices and WebAssembly. Note that a lot of the std stuff exists in core, so we could get far with just conditional imports.

https://github.com/serde-rs/serde/blob/bb99b31eb0a55393101f9c80cd959b3a739ad70f/serde/src/lib.rs#L141-L143