Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
dbaupp
on July 15, 2014
|
parent
|
context
|
favorite
| on:
Zinc – Rust’s safety features applied to embedded ...
Libcore doesn't use the (entire) libc runtime; IIRC, it essentially just needs the memcpy and memset symbols to be defined.
andrewflnr
on July 15, 2014
|
next
[–]
Why not just implement those in Rust too? It seems like you could break the dependency entirely.
dbaupp
on July 15, 2014
|
parent
|
next
[–]
Yes, you can, and they are even provided in pure Rust for exactly that reason:
http://doc.rust-lang.org/master/rlibc/
(Seems there were 2 more mem* symbols required than I remembered.)
pcwalton
on July 15, 2014
|
parent
|
prev
|
next
[–]
You can implement those in Rust if you want.
heinrich5991
on July 15, 2014
|
prev
[–]
Couldn't it use librlibc then?
dbaupp
on July 15, 2014
|
parent
[–]
Yes, that's exactly what librlibc is for and what is used.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: