Open
Description
For example cg_clif doesn't support LTO. Unfortunately enabling LTO makes the linker code always omit object files, so attempting to use -Clto=yes
will result in a linker error. It is not practical to just not pass -Clto=yes
, as many crates enable it in their Cargo.toml
. I would like to be able to make cg_clif tell rustc that LTO should be disabled, even when -Clto=yes
is passed. I think there should still be a warning though.