You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When performing LTO, bytecode is loaded from an archive by using the crate id's
name. If the -o flag was specified when building the original library, it
previously also mangled the name of the bytecode.
This switches to always using the crate id's name when naming the bytecode file,
ensuring that it can always be loaded at a later date, regardless of -o.
Closesrust-lang#13317
Running rustc from 286b62e.
If I compile rust-core with
--out-dir dir
everything works:If I use
-o file
, compilation breaks with internal compiler error:Backtrace:
libcore-caef0f5f-0.0.rlib contents:
The text was updated successfully, but these errors were encountered: