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.
-framework Foo
1 parent 9c4d804 commit a29934aCopy full SHA for a29934a
src/librustc/back/link.rs
@@ -849,11 +849,7 @@ pub fn link_binary(sess: Session,
849
do cstore::iter_crate_data(cstore) |crate_num, _| {
850
let link_args = csearch::get_link_args_for_crate(cstore, crate_num);
851
do vec::consume(link_args) |_, link_arg| {
852
- // Linker arguments that don't begin with - are likely file names,
853
- // so they should not be necessary.
854
- if link_arg.starts_with("-") {
855
- cc_args.push(link_arg);
856
- }
+ cc_args.push(link_arg);
857
}
858
859
0 commit comments