ICE when trying to link against an rlib compiled against a different sysroot #83138
Labels
C-bug
Category: This is a bug.
E-needs-mcve
Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable Example
glacier
ICE tracked in rust-lang/glacier.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
This is from https://github.com/theduke/rustc-cranelift-bench by @theduke.
Repro
cargo build
--sysroot
argument for a different sysroot compiled by the same rustc.Meta
rustc --version --verbose
:Error output
Backtrace
With a small change to the source I even managed to get a delayed bug to trigger after the ICE backtrace:
Removing
tracing::info!("start");
too fixes the ICE.The text was updated successfully, but these errors were encountered: