From @ojeda, RUSTC_BOOTSTRAP=1 rustc --edition=2021 -Csymbol-mangling-version=v0 --cfg no_fp_fmt_parse --crate-type rlib library/core/src/lib.rs --sysroot=/dev/null ICEs at no symbol mangling. --cfg no_fp_fmt_parse is required for the repro.
The symbol mangling ICE was fixed in #123816 which is nominated for beta backport, but this seems to hint that something isn't marked #[inline] that should be. I suspect that adding the above --cfg would probably break cg_gcc and cg_clif.
From Miguel, this uses the most recent beta rustc 1.79.0-beta.4 (a26981974 2024-05-10)
From @ojeda,
RUSTC_BOOTSTRAP=1 rustc --edition=2021 -Csymbol-mangling-version=v0 --cfg no_fp_fmt_parse --crate-type rlib library/core/src/lib.rs --sysroot=/dev/nullICEs at no symbol mangling.--cfg no_fp_fmt_parseis required for the repro.The symbol mangling ICE was fixed in #123816 which is nominated for beta backport, but this seems to hint that something isn't marked
#[inline]that should be. I suspect that adding the above--cfgwould probably break cg_gcc and cg_clif.From Miguel, this uses the most recent beta
rustc 1.79.0-beta.4 (a26981974 2024-05-10)