4 ms·
Is mrustc "simple" enough? Its purpose is as you describe, and it can bootstrap rustc to version 1.74.0. https://github.com/thepowersgang/mrustc https://github.
by Smaug123 1y ago
Is mrustc "simple" enough? Its purpose is as you describe, and it can bootstrap rustc to version 1.74.0. https://github.com/thepowersgang/mrustc https://github.com/thepowersgang/mrustc
- neilv 1y ago`mrustc` might be exactly what I wanted. Thank you.
- stevefolta 1y agoNo it can't. Not for RISC-V/musl, so I'm sure that must be true for other platforms too.
- yjftsjthsd-h 1y agoSo.... It can, just not for a particular target platform? Or am I missing your point?
- JoshTriplett 1y agoOnce you've compiled it for one platform, you've re-bootstrapped it, at which point you can use the real compiler to cross-compile for another platform.
- alganet 1y agoIdeally, you want more than one bootstrapped platform. Platforms eventually die, and you don't want to rely on an emulator for bootstrapping. Some time from now x86_64 will fade away, and there's a large chance rust will still be around. I know that this will probably take a long time, but it's better and easier to do it now than later.