Open
Description
It would be useful to ask rustc to not embed object code in a rlib when doing LTO. I suggest adding a -C embed-binary=no
compiler option similar to -C embed-bitcode=no
.
This would allow rust-lang/cargo#14575 to be fixed without incurring a compile time cost, as Cargo misuses -C linker-plugin-lto
as a -C embed-binary=no
option, which currently leads to miscompilations.