-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[REQUEST] mrustc
as alternative Rust compiler
#2643
Comments
I would like to work on this but I'm not familiar with
Then I can use How do you get the assembly output ? Also, I don't see any tag/release. Do you expect to have |
I am not familiar with it either, but from what I understand, it is currently a transpiler to C without native codegen. So I would have one entry in CE to show the C output; and perhaps another for that + GCC and/or + Clang.
I think having a build from time to time when a major milestone is reached is enough for the moment (like when a newer Rust compiler version gets bootstrapped) . However, perhaps @thepowersgang would welcome nightlies nevertheless! |
Initially wanted to add existing versions, but small issues would require some workaround to make it work. Instead, use nightly, at least until a new release is published. compiler-explorer/compiler-explorer#2643
I've a setup working locally. I think it's easier to focus on upcoming releases and ignore anything earlier because that would need some workarounds (not hard, but not sure this is worth it). When a simple fix is merged, I'll start pushing PR here to add the compiler. As a first goal, I'll treat the C as the final product (I still need to see how to display this correctly). Maybe there will be something to chain this C into another compiler, but that's a different topic. |
Add the needed base for new mrustc compiler. https://github.com/thepowersgang/mrustc mrustc is transpiling Rust to C and is mainly used for bootstraping rustc. This change treats the C output as the final product (as is assembly for GCC/clang). It is not easily possible to automatically plug this C to other C compilers to get assembly or executable. fixes compiler-explorer#2643
Add builder for mrustc. This is currently needed because mrustc does not provide binary snapshot for its releases (and also because mrustc until recently would always invoke the local C compiler as its last step, which is not wanted). refs compiler-explorer/compiler-explorer#2643
Initially wanted to add existing versions, but small issues would require some workaround to make it work. Instead, use nightly, at least until a new release is published. refs compiler-explorer/compiler-explorer#2643
Hope to have everything correct here.
|
Add builder for mrustc. This is currently needed because mrustc does not provide binary snapshot for its releases (and also because mrustc until recently would always invoke the local C compiler as its last step, which is not wanted). refs compiler-explorer/compiler-explorer#2643
Initially wanted to add existing versions, but small issues would require some workaround to make it work. Instead, use nightly, at least until a new release is published. refs compiler-explorer/compiler-explorer#2643
Add the needed base for new mrustc compiler. https://github.com/thepowersgang/mrustc mrustc is transpiling Rust to C and is mainly used for bootstraping rustc. This change treats the C output as the final product (as is assembly for GCC/clang). It is not easily possible to automatically plug this C to other C compilers to get assembly or executable. fixes #2643
Add the needed base for new mrustc compiler. https://github.com/thepowersgang/mrustc mrustc is transpiling Rust to C and is mainly used for bootstraping rustc. This change treats the C output as the final product (as is assembly for GCC/clang). It is not easily possible to automatically plug this C to other C compilers to get assembly or executable. fixes #2643
mrustc
is a Rust compiler written in C++.While it is mainly intended as a way to reduce the long bootstrap chain of
rustc
, it can compile some non-rustc
code too.The text was updated successfully, but these errors were encountered: