Closed
Description
In a non-Cargo build system (eg Buck) dependencies on native libraries are already defined in the build system. As such the build system will automatically put those libraries on the link line, which means that rustc should not do so. It would be nice to have an option to allow this (proposal: -Zlink-native-libraries=yes/no
, to be stabilized as -Clink-native-libraries=yes/no
).
Metadata
Metadata
Assignees
Labels
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
Rollup merge of rust-lang#70095 - jsgf:link-native, r=nagisa
Implement -Zlink-native-libraries
Auto merge of rust-lang#70095 - jsgf:link-native, r=nagisa
-Zlink-native-libraries=no
causes link to fail with missing__libc_start_main
on fuchsia #84733jsgf commentedon May 31, 2021
Resolved by #70095
14 remaining items