3 ms·
Can you explain what you mean by "you need two language items"? I'm just getting into Rust now and planning some bare metal stuff.
by KuiN 10y ago
Can 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...