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/bootstrap.py | 1 + 1 file changed, 1 insertion(+) (limited to 'src/bootstrap/bootstrap.py') diff --git a/src/bootstrap/bootstrap.py b/src/bootstrap/bootstrap.py index 93c3694bc0c..ecf9c0a7590 100644 --- a/src/bootstrap/bootstrap.py +++ b/src/bootstrap/bootstrap.py @@ -602,6 +602,7 @@ class RustBuild(object): env["LIBRARY_PATH"] = os.path.join(self.bin_root(), "lib") + \ (os.pathsep + env["LIBRARY_PATH"]) \ if "LIBRARY_PATH" in env else "" + env["RUSTFLAGS"] = "-Cdebuginfo=2" env["PATH"] = os.path.join(self.bin_root(), "bin") + \ os.pathsep + env["PATH"] if not os.path.isfile(self.cargo()): -- cgit 1.4.1-3-g733a5