2 ms·
Yup, all the standard library. If you look at the top of main.rs [1], you'll see #[no_std] which means "don't use the standard library" Instead of the standa
by jvns 13y ago
Yup, all the standard library. If you look at the top of main.rs [1], you'll see
#[no_std]
which means "don't use the standard library"
Instead of the standard library, I use rust-core [2], which provides some of the standard library's features (like the ability to allocate memory).
[1] https://github.com/jvns/puddle/blob/master/src/main.rs https://github.com/jvns/puddle/blob/master/src/main.rs
[2] https://github.com/thestinger/rust-core https://github.com/thestinger/rust-core