Re:Raspberry Pi Bare Metal Programming with Rust
by nitrogen on Sunday January 17, 2016 @06:00AM
(#10919105)
Does bare metal Rust also use memcpy() or other library functions? If so, how are those linked into the final binary?
[ Parent
| on HN ]
Re:Raspberry Pi Bare Metal Programming with Rust
by steveklabnik on Sunday January 17, 2016 @08:51AM
(#10919442)
Yes, LLVM will assume three or four functions exist regardless. The rlibc crate provides a Rust implementation of them, so you just add it and you're done. https://github.com/alexcrichton/rlibc