about summary refs log tree commit diff
path: root/src/comp/back
diff options
context:
space:
mode:
authorMarijn Haverbeke <marijnh@gmail.com>2012-02-22 11:44:11 +0100
committerMarijn Haverbeke <marijnh@gmail.com>2012-02-22 11:47:47 +0100
commitad03761a97eb0f651e3ce4f54cbf87dbf4d6f80f (patch)
tree03eb60b2d440ebfc6b668e359c28fe0e8e69b042 /src/comp/back
parente57b6775c3a2d9dbe7fae69c189b8ae9032315cb (diff)
downloadrust-ad03761a97eb0f651e3ce4f54cbf87dbf4d6f80f.tar.gz
rust-ad03761a97eb0f651e3ce4f54cbf87dbf4d6f80f.zip
Remove preconditions from libraries
Closes #1805
Diffstat (limited to 'src/comp/back')
-rw-r--r--src/comp/back/rpath.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/comp/back/rpath.rs b/src/comp/back/rpath.rs
index 7ed80f0d6d7..a66f5d87024 100644
--- a/src/comp/back/rpath.rs
+++ b/src/comp/back/rpath.rs
@@ -40,7 +40,6 @@ fn get_sysroot_absolute_rt_lib(sess: session::session) -> fs::path {
         + filesearch::relative_target_lib_path(
             sess.opts.target_triple)
         + [os::dylib_filename("rustrt")];
-    check vec::is_not_empty(path);
     fs::connect_many(path)
 }
 
@@ -174,7 +173,6 @@ fn get_install_prefix_rpath(cwd: fs::path, target_triple: str) -> str {
 
     let path = [install_prefix]
         + filesearch::relative_target_lib_path(target_triple);
-    check vec::is_not_empty(path);
     get_absolute(cwd, fs::connect_many(path))
 }