3 ms·
One of their (more minor admittedly) goals this year is to improve/stabilize no_std as well as make std more portable. Looking forward to another great year in
by vitiral 10y ago
One of their (more minor admittedly) goals this year is to improve/stabilize no_std as well as make std more portable. Looking forward to another great year in rust!
- steveklabnik 10y agoTo be clear, no_std is itself stable, but when creating a binary, you need two language items, and those aren't stable. It's not 100% clear what the right path is yet for that, but we'll get there. :)
- KuiN 10y agoCan you explain what you mean by "you need two language items"? I'm just getting into Rust now and planning some bare metal stuff.
- steveklabnik 10y agohttps://doc.rust-lang.org/book/no-stdlib.html https://doc.rust-lang.org/book/no-stdlib.html (This link will change in one or two releases; I landed a new "Unstable Book" a few days ago.) The TL;DR is Rust expects certain stuff to be implemented in Rust code to work, and that's provided by the standard library. When you don't use the standard library, libcore implements all but a few of them. Implementing them is not yet stable.
- steveklabnik 10y agoThis is now at https://doc.rust-lang.org/nightly/unstable-book/lang-items.html https://doc.rust-lang.org/nightly/unstable-book/lang-items.h...