rustc_codegen_cranelift
rustc_codegen_cranelift copied to clipboard
Cranelift based backend for rustc
It looks like cg_clif doesn't support debug info on Windows. It would be nice if we could do that! Some pdb files are generated but I'm not sure what's in...
abi-checker got renamed to abi-cafe, causing `./y.rs prepare` to fail.
fixes #1386
from https://github.com/rust-lang/rust/issues/59062 auto-reduced (treereduce-rust): ````rust #![feature(linkage)] fn main() { extern "C" { #[linkage = "weak"] static mut ABC: *const u8; } unsafe { assert_eq!(ABC as usize, 0); } } ````...
As of https://github.com/rust-lang/rust/pull/121728, the backends now have stubs for `f16` and `f128`: https://github.com/rust-lang/rust/blob/6cbf0926d54c80ea6d15df333be9281f65bbeb36/compiler/rustc_codegen_cranelift/src/common.rs#L36-L39. It will be a while before these codepaths can even be exercised since the frontend isn't hooked...
Cranelift is currently incompatible with the following Docker command (at least in my case): `docker-compose up -d --build` I get this error message: ``` Dockerfile:11 -------------------- 9 | FROM chef...
This little program is fine with opt 0, but fails with opt 1. ```rust fn main() { const X: u128 = 0x8000_0000_0000_0000; assert_eq!((|| X)(), X); } ``` ``` $ rustc...
´rustc 1.79.0-nightly (83d0a940c 2024-04-06)´ I noticed that when I run a `cargo test` of rust-analyzer @ d9c29afaee6cb26044b5a605e0073fcabb2e9722 , all the tests pass, but when I use cranelift, some some of...
# Issue When I try compiling any rust program with the combination of: - LLD 18.1.2 - Cranklift from 4/5/2024 `cg_clif-x86_64-pc-windows-msvc.tar.xz` I get these errors ``` C:\Users\donblas\Programming\cranelift-march-6\cargo-clif.exe build Compiling link-crane-example...
In particular https://github.com/rust-lang/rust/pull/122619/commits/8841315d3e9aa02cb54d757cb5cd8131c263a893