Wink Saville
2014-09-22 16:46:33 UTC
I'm interested in writing deeply embedded low level Rust code for risc-v (
http://riscv.org/) that thus don't expect to need a significant runtime
library. As such I expect to use #![no_std] and #![no_start].
Anyway, there is a risc-v "llvm compiler" (
http://riscv.org/download.html#tab_llvm) and it appears that rustc is an
"llvm compiler".
It seems with both being llvm I should be able to connect the Rust's llvm
"frontend" to the risc-v "backend" and thus be able to generate Rust code
for risc-v.
Would love to know if Rust compiler people would think this is reasonably
easy and if so what general guidance on how to do it.
-- Wink
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/rust-dev/attachments/20140922/1fe17a38/attachment.html>
http://riscv.org/) that thus don't expect to need a significant runtime
library. As such I expect to use #![no_std] and #![no_start].
Anyway, there is a risc-v "llvm compiler" (
http://riscv.org/download.html#tab_llvm) and it appears that rustc is an
"llvm compiler".
It seems with both being llvm I should be able to connect the Rust's llvm
"frontend" to the risc-v "backend" and thus be able to generate Rust code
for risc-v.
Would love to know if Rust compiler people would think this is reasonably
easy and if so what general guidance on how to do it.
-- Wink
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/rust-dev/attachments/20140922/1fe17a38/attachment.html>