ICE when linking no_std lib to a no_std binary #82823
Labels
C-bug
Category: This is a bug.
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
Have a
#![no_std]
lib crate and then another#![no_std]
binary crate, attempt to link them together.Changing app from a binary to a library (so linking two libraries) doesn't cause the error.
Full repo for repro: https://github.com/mikegedelman/rust-no-std-ice
Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: