5 ms·
Oh neat, they mention that godbolt now has (preliminary?) support for: * Compiling via rustc, mrustc, gccrs, rustccggcc * Outputting MIR, macro expansion stag
by infogulch 5y ago
Oh neat, they mention that godbolt now has (preliminary?) support for:
* Compiling via rustc, mrustc, gccrs, rustccggcc
* Outputting MIR, macro expansion stages
https://godbolt.org/z/5767rMa33 https://godbolt.org/z/5767rMa33
- Bayart 5y ago> rustccggcc Now that's just taking the piss.
- deleted 5y ago[deleted]
- dkm2 5y agoand also HIR in the very near future (next refresh of the live site): https://github.com/compiler-explorer/compiler-explorer/pull/3147 https://github.com/compiler-explorer/compiler-explorer/pull/... If you have any idea of feature, don't hesitate to open an issue ! :D
- zozbot234 5y agoToo bad that only x86-64 output is supported out of the box. There's no real reason for this, other targets work just fine but you need to place e.g. `--target=riscv64gc-unknown-linux-gnu` or even `--target=wasm32-wasi` in the compiler options input. C/C++ doesn't have this issue, it's specific to Rust.
- dkm2 5y agohttps://github.com/compiler-explorer/compiler-explorer/issues/3165 https://github.com/compiler-explorer/compiler-explorer/issue... :)
- Tobu 5y agoIf anyone had trouble parsing rustccggcc, it's rustc-cg-gcc, ie https://github.com/rust-lang/rustc_codegen_gcc https://github.com/rust-lang/rustc_codegen_gcc
- deleted 5y ago[deleted]