Skip to content

Commit 1cd6952

Browse files
committed
---
yaml --- r: 50815 b: refs/heads/try c: a29934a h: refs/heads/master i: 50813: ccc09cb 50811: be39e9e 50807: f9f1690 50799: 0cafd2f 50783: 1eb0bc5 50751: 88e7434 50687: 102ab07 v: v3
1 parent ff28a29 commit 1cd6952

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: 5f13e9ccc2e3328d4cd8ca49f84e6840dd998346
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: f7a2371c176663d59062ec5158f39faecba45768
5-
refs/heads/try: 9c4d804cfe421d9a48ba2f0c6d12b7c654e75964
5+
refs/heads/try: a29934a61b0ade13ef799a9aa9e95c0be940e0f5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/src/librustc/back/link.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -849,11 +849,7 @@ pub fn link_binary(sess: Session,
849849
do cstore::iter_crate_data(cstore) |crate_num, _| {
850850
let link_args = csearch::get_link_args_for_crate(cstore, crate_num);
851851
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);
857853
}
858854
}
859855

0 commit comments

Comments
 (0)