about summary refs log tree commit diff
path: root/src/bootstrap/bin
diff options
context:
space:
mode:
authorMark Simulacrum <mark.simulacrum@gmail.com>2018-01-15 10:44:00 -0700
committerMark Simulacrum <mark.simulacrum@gmail.com>2018-01-23 19:39:20 -0700
commit6aeb1cfb64ea04e334d296bf9a47c659116c96bf (patch)
tree6339981e366f24829376b43410314a31feb37930 /src/bootstrap/bin
parent734ee0fb4301a5b38e304882de35914a87c237f3 (diff)
downloadrust-6aeb1cfb64ea04e334d296bf9a47c659116c96bf.tar.gz
rust-6aeb1cfb64ea04e334d296bf9a47c659116c96bf.zip
Add ./x.py check src/{libstd,libtest,rustc}.
This currently only supports a limited subset of the full compilation,
but is likely 90% of what people will want and is possible without
building a full compiler (i.e., running LLVM). In theory, this means
that contributors who don't want to build LLVM now have an easy way to
compile locally, though running tests won't work.
Diffstat (limited to 'src/bootstrap/bin')
-rw-r--r--src/bootstrap/bin/rustc.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/bootstrap/bin/rustc.rs b/src/bootstrap/bin/rustc.rs
index 37336a56d76..55d104b1826 100644
--- a/src/bootstrap/bin/rustc.rs
+++ b/src/bootstrap/bin/rustc.rs
@@ -125,11 +125,6 @@ fn main() {
             cmd.arg(format!("-Clinker={}", target_linker));
         }
 
-        // Pass down incremental directory, if any.
-        if let Ok(dir) = env::var("RUSTC_INCREMENTAL") {
-            cmd.arg(format!("-Zincremental={}", dir));
-        }
-
         let crate_name = args.windows(2)
             .find(|a| &*a[0] == "--crate-name")
             .unwrap();