rustc_codegen_cranelift icon indicating copy to clipboard operation
rustc_codegen_cranelift copied to clipboard

Cranelift based backend for rustc

Results 147 rustc_codegen_cranelift issues
Sort by recently updated
recently updated
newest added

Following the instructions in the README, everything seemed to be working fine until `./y.rs build`. ``` The MSVC toolchain is not yet supported by rustc_codegen_cranelift. Switch to the MinGW toolchain...

O-windows

Fixes the issues found in https://github.com/bjorn3/rustc_codegen_cranelift/issues/1193. This still needs testing on CI. cc @EndilWayfare

O-windows

Both matching the debuginfo to some known output and running gdb/lldb with certain commands and testing the output.

C-enhancement
A-debuginfo
A-testing

When removing the tests requiring `rand` and adding a `Cargo.toml` to `src/libcore/tests`, running `cargo test` in that directory gives the following failures: ``` ---- checked_mul stdout ---- ---- checked_mul stderr...

C-bug

I try to avoid unstable features where possible. This option enforces this.

C-enhancement

After Cranelift 0.82.0 was released it turned out that there was a small bug introduced that caused rustc bootstrap to fail: https://github.com/bytecodealliance/wasmtime/pull/3906 It would be nice to catch this earlier...

C-enhancement
A-testing

https://github.com/bjorn3/rustc_codegen_cranelift/blob/ab425a4bca1d6df234596a1621c4cabcc73bb272/Cargo.toml#L21 It will break the build if for whatever reason this commit/repo is gone in the future. I could make it a git subtree, but I don't know if git...

C-enhancement

I only ran the `debug` benchmarks, as `check` should be identical and `release` will definitively be faster because of much less optimizations by cg_clif. Except for some stress-tests the `clean`...

compile-time

* [ ] debug mode build (Linux only) * [ ] lld (Linux only) * [ ] `CG_CLIF_FUNCTION_SECTIONS=1` `-Zfunction-sections=yes` (Linux and macOS) * [x] bootstrap rustc (#1105) * [x] run...

C-enhancement
A-testing