Skip to content

Commit 9dbb147

Browse files
committed
---
yaml --- r: 34677 b: refs/heads/master c: 72fc2b5 h: refs/heads/master i: 34675: 8a74489 v: v3
1 parent c016c2d commit 9dbb147

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
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: ec6311211f70ad79dee75f94fa26851f2decfcb9
2+
refs/heads/master: 72fc2b52dbbd45a2fe60fa383bbc44f8e516e281
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: eb8fd119c65c67f3b1b8268cc7341c22d39b7b61
55
refs/heads/try: d324a424d8f84b1eb049b12cf34182bda91b0024

trunk/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

trunk/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)