Commit Graph
2 Commits
Author SHA1 Message Date
Marc Poulhiès 64450523f2 mrustc: force crate_type to rlib (#2691)
Defaults to bin, which will complain when there is no main(). But at the moment
compiler explorer has no way to compile the resulting C and get an executable.
2021-05-27 22:47:22 +02:00
Marc Poulhiès b283b7eef3 Initial support for mrustc (#2681)
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
2021-05-27 21:51:33 +02:00