Closed techtonik closed 9 years ago
I'd say that I don't know it much.
From this mail http://comments.gmane.org/gmane.comp.lang.rust.devel/10876 there is a link to http://www.ntecs.de/blog/2014/07/29/rust-ported-to-dragonflybsd/ which says that The Rust libraries (e.g. liballoc, liblibc, libstd, libnative) need to be ported.
. I am not sure at which level Rust accesses STDIN/STDOUT and how are they wrapped there.
The calling convention / mechanism for this OS is here https://github.com/ReturnInfinity/BareMetal-OS/blob/master/docs/BareMetal%20OS%20-%20API.md#b_output so I guess that the code generator for Rust should be modified to support this call if BareMetal OS is the target. http://www.slideshare.net/thomaslee/rust-march2014-32891901
Just for the reference, an example of Rust application is in 740d2b23 along with some comments.
This will also require changing description on https://github.com/ReturnInfinity/BareMetal-OS