Skip to content

Commit 7a8a32d

Browse files
committed
---
yaml --- r: 35870 b: refs/heads/try2 c: 72fc2b5 h: refs/heads/master v: v3
1 parent f5dd620 commit 7a8a32d

File tree

3 files changed

+12
-18
lines changed

3 files changed

+12
-18
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: eb8fd119c65c67f3b1b8268cc7341c22d39b7b61
55
refs/heads/try: d324a424d8f84b1eb049b12cf34182bda91b0024
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: ec6311211f70ad79dee75f94fa26851f2decfcb9
8+
refs/heads/try2: 72fc2b52dbbd45a2fe60fa383bbc44f8e516e281
99
refs/heads/incoming: d9317a174e434d4c99fc1a37fd7dc0d2f5328d37
1010
refs/heads/dist-snap: 22efa39382d41b084fde1719df7ae8ce5697d8c9
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596

branches/try2/src/rustc/back/link.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -723,10 +723,8 @@ fn link_binary(sess: session,
723723
}
724724
}
725725
726-
if !sess.debugging_opt(session::no_rt) {
727-
// Always want the runtime linked in
728-
cc_args.push(~"-lrustrt");
729-
}
726+
// Always want the runtime linked in
727+
cc_args.push(~"-lrustrt");
730728

731729
// On linux librt and libdl are an indirect dependencies via rustrt,
732730
// and binutils 2.22+ won't add them automatically

branches/try2/src/rustc/driver/session.rs

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -46,18 +46,15 @@ const trans_stats: uint = 1 << 4;
4646
const no_asm_comments: uint = 1 << 5;
4747
const no_verify: uint = 1 << 6;
4848
const trace: uint = 1 << 7;
49-
// FIXME (#2377): This exists to transition to a Rust crate runtime
50-
// It should be removed
51-
const no_rt: uint = 1 << 8;
52-
const coherence: uint = 1 << 9;
53-
const borrowck_stats: uint = 1 << 10;
54-
const borrowck_note_pure: uint = 1 << 11;
55-
const borrowck_note_loan: uint = 1 << 12;
56-
const no_landing_pads: uint = 1 << 13;
57-
const debug_llvm: uint = 1 << 14;
58-
const count_type_sizes: uint = 1 << 15;
59-
const meta_stats: uint = 1 << 16;
60-
const no_opt: uint = 1 << 17;
49+
const coherence: uint = 1 << 8;
50+
const borrowck_stats: uint = 1 << 9;
51+
const borrowck_note_pure: uint = 1 << 10;
52+
const borrowck_note_loan: uint = 1 << 11;
53+
const no_landing_pads: uint = 1 << 12;
54+
const debug_llvm: uint = 1 << 13;
55+
const count_type_sizes: uint = 1 << 14;
56+
const meta_stats: uint = 1 << 15;
57+
const no_opt: uint = 1 << 16;
6158

6259
fn debugging_opts_map() -> ~[(~str, ~str, uint)] {
6360
~[(~"verbose", ~"in general, enable more debug printouts", verbose),
@@ -70,7 +67,6 @@ fn debugging_opts_map() -> ~[(~str, ~str, uint)] {
7067
(~"no-asm-comments", ~"omit comments when using -S", no_asm_comments),
7168
(~"no-verify", ~"skip LLVM verification", no_verify),
7269
(~"trace", ~"emit trace logs", trace),
73-
(~"no-rt", ~"do not link to the runtime", no_rt),
7470
(~"coherence", ~"perform coherence checking", coherence),
7571
(~"borrowck-stats", ~"gather borrowck statistics", borrowck_stats),
7672
(~"borrowck-note-pure", ~"note where purity is req'd",

0 commit comments

Comments
 (0)