]> git.lizzy.rs Git - rust.git/blobdiff - src/bootstrap/native.rs
rustc: Load the `rustc_trans` crate at runtime
[rust.git] / src / bootstrap / native.rs
index ba8cf3a8e2eb597844e202e5563937646c758f80..442098a7afa77d7bfd55342149e66ace16b163d7 100644 (file)
@@ -57,11 +57,6 @@ fn run(self, builder: &Builder) {
         let build = builder.build;
         let target = self.target;
 
-        // If we're not compiling for LLVM bail out here.
-        if !build.config.llvm_enabled {
-            return;
-        }
-
         // If we're using a custom LLVM bail out here, but we can only use a
         // custom LLVM for the build triple.
         if let Some(config) = build.config.target_config.get(&target) {