File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 9c4d804cfe421d9a48ba2f0c6d12b7c654e75964
2
+ refs/heads/master: a29934a61b0ade13ef799a9aa9e95c0be940e0f5
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: f7a2371c176663d59062ec5158f39faecba45768
5
5
refs/heads/try: 2a8fb58d79e685d5ca07b039badcf2ae3ef077ea
Original file line number Diff line number Diff line change @@ -849,11 +849,7 @@ pub fn link_binary(sess: Session,
849
849
do cstore::iter_crate_data(cstore) |crate_num, _| {
850
850
let link_args = csearch::get_link_args_for_crate(cstore, crate_num);
851
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
- }
852
+ cc_args.push(link_arg);
857
853
}
858
854
}
859
855
You can’t perform that action at this time.
0 commit comments