The GCC compiler backend can now fully bootstrap the Rust compiler
64 points by ReinierMaas
64 points by ReinierMaas
Q: Wasn’t this your entire GSoC proposal? On paper, there is still a week left until your work begins. What are you going to do now?
A: I managed to achieve all my main goals… slightly early.
I’m so impressed FractalFir, they’re still in university and pulling off stuff like this. Great work, but I hope they don’t flame out.
IIRC he did the .NET->Rust compiler stuff while still in HS. Definitely looks to be a promising person professionally.
Looking forward to testing on m68k and VAX.
Looks like they’re planning to get arm first, then dec alpha as the first non-llvm-supported arch. Couple of other tasks to clear before that.
Oooh! I’d love to test Alpha, too. There are so many packages that require rust these days… Thanks!
You may be able to bootstrap rustc there but you still wouldn’t be able to run rust code there I guess. 🙂
If you can bootstrap/run rustc somewhere, you can run almost any Rust code there. Porting the alloc
and std
crates is the key enabler.
That said, you can still run a fair amount of stuff without std
or even alloc
, and for some platforms, like the dreamcast or embedded boards, std
wouldn’t make sense anyway.
Concerning m68k, it’s supported by rustc’s LLVM backend as well, but std
support is still a work in progress.