Thanks for the heads up on Zinc <http://zink.rs>,  looks to be originally
announced on this list here
<https://mail.mozilla.org/pipermail/rust-dev/2014-April/009618.html> and
its github page is here <https://github.com/hackndev/zinc>.  So I happy to
see someone else is interested in rust on riscv. I know nothing about llvm
so I hope we'll see some advice from some knowledgable people to give us
some guidance.

But if nothing is forth coming, I suggest we start with the following tasks:

1. Get sources for both Rust and Risc-v compilers and build them locally
validating both "work".
2. Create one github project with both sources in two different source
trees and again validate both "work"
3. Learn how LLVM frontend/backends communicate
4. Work to combine the Rust Frontend with the Risc-v backend
5. Iterate over 3 and 4 until we have a working Rust compiler for Risc-V

A first question is where is the current compilers. On the main github rust
page <https://github.com/rust-lang>
there is a link to rust-lang/llvm <https://github.com/rust-lang/llvm>, but
that link seems to point to something that
was last updated in April 2014. Instead if you go to rust-lang/rust/src
<https://github.com/rust-lang/rust/tree/master/src> and then click
on the submodule "llvm @ e9d0374
<https://github.com/rust-lang/llvm/tree/e9d037419441d51ccb0f41aacbc64080b0c6e81b>"
you're at a commit that was 23 days ago.
So for Rust it looks like we should clone the rust-lang/rust
<https://github.com/rust-lang/rust>.

On the main githug riscv page <https://github.com/ucb-bar> there is a link
to riscv-llvm. <https://github.com/ucb-bar/riscv-llvm> with the last commit
from August 19, so that probably good.

We could start with one of us getting Rust working and the other getting
Risc-v,
which would you like to do or maybe you have a different suggestion on how
to proceed?

-- Wink
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to