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

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...

A-debuginfo
O-windows

abi-checker got renamed to abi-cafe, causing `./y.rs prepare` to fail.

C-enhancement
A-build-system

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...

C-enhancement

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...

C-bug
upstream

´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...

A-unwind

# 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...

C-bug
O-windows

In particular https://github.com/rust-lang/rust/pull/122619/commits/8841315d3e9aa02cb54d757cb5cd8131c263a893

C-bug
A-abi