Hacker News new | past | comments | ask | show | jobs | submit login

> What you are talking about is making a compiler that would run on all Hosts, but it would take different work to make it be able to produce code for all Targets.

This is already how rustc works, it is not like GCC. Any rustc can (cross-)compile for any target, as long as you have the rlibs for that target, your libllvm has those targets enabled, and you have the appropriate linker. Rustup usually manages all that for you.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: