We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
rust.default-linker
1 parent 4b44cd4 commit 39a7e5fCopy full SHA for 39a7e5f
src/bootstrap/src/core/config/config.rs
@@ -863,7 +863,9 @@ impl Config {
863
864
let mut target = Target::from_triple(&triple);
865
866
- if target_default_linker.is_some() && target_default_linker_linux.is_some() {
+ if (target_default_linker.is_some() || rust_default_linker.is_some())
867
+ && target_default_linker_linux.is_some()
868
+ {
869
panic!(
870
"cannot set both `default-linker` and `default-linker-linux` for target {triple}"
871
);
0 commit comments