From 6aeb1cfb64ea04e334d296bf9a47c659116c96bf Mon Sep 17 00:00:00 2001 From: Mark Simulacrum Date: Mon, 15 Jan 2018 10:44:00 -0700 Subject: 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. --- src/bootstrap/lib.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/bootstrap/lib.rs') diff --git a/src/bootstrap/lib.rs b/src/bootstrap/lib.rs index 3738828a4ba..565320c9521 100644 --- a/src/bootstrap/lib.rs +++ b/src/bootstrap/lib.rs @@ -150,6 +150,7 @@ use util::{exe, libdir, OutputFolder, CiEnv}; mod cc_detect; mod channel; mod check; +mod test; mod clean; mod compile; mod metadata; @@ -449,12 +450,6 @@ impl Build { out } - /// Get the directory for incremental by-products when using the - /// given compiler. - fn incremental_dir(&self, compiler: Compiler) -> PathBuf { - self.out.join(&*compiler.host).join(format!("stage{}-incremental", compiler.stage)) - } - /// Returns the root directory for all output generated in a particular /// stage when running with a particular host compiler. /// -- cgit 1.4.1-3-g733a5