about summary refs log tree commit diff
path: root/src/rustc/back
diff options
context:
space:
mode:
authorTim Chevalier <chevalier@alum.wellesley.edu>2012-10-11 16:06:17 -0700
committerTim Chevalier <chevalier@alum.wellesley.edu>2012-10-11 16:06:17 -0700
commit72fc2b52dbbd45a2fe60fa383bbc44f8e516e281 (patch)
tree11382fa3771dd59c1fd161ae99c6a6a4e521558a /src/rustc/back
parentec6311211f70ad79dee75f94fa26851f2decfcb9 (diff)
downloadrust-72fc2b52dbbd45a2fe60fa383bbc44f8e516e281.tar.gz
rust-72fc2b52dbbd45a2fe60fa383bbc44f8e516e281.zip
Remove unneeded no_rt flag
Diffstat (limited to 'src/rustc/back')
-rw-r--r--src/rustc/back/link.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/rustc/back/link.rs b/src/rustc/back/link.rs
index 2e310785306..67edf6a32ba 100644
--- a/src/rustc/back/link.rs
+++ b/src/rustc/back/link.rs
@@ -723,10 +723,8 @@ fn link_binary(sess: session,
         }
     }
 
-    if !sess.debugging_opt(session::no_rt) {
-        // Always want the runtime linked in
-        cc_args.push(~"-lrustrt");
-    }
+    // Always want the runtime linked in
+    cc_args.push(~"-lrustrt");
 
     // On linux librt and libdl are an indirect dependencies via rustrt,
     // and binutils 2.22+ won't add them automatically