From 83453bc673ab110a70c214c6c2bce8355ca8cf1a Mon Sep 17 00:00:00 2001 From: Niko Matsakis Date: Wed, 16 Nov 2016 18:02:56 -0500 Subject: add and document `--incremental` flag along with misc other changes For example: - we now support `-vv` to get very verbose output. - RUSTFLAGS is respected by `x.py` - better error messages for some cases --- src/bootstrap/bootstrap.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/bootstrap/bootstrap.py') diff --git a/src/bootstrap/bootstrap.py b/src/bootstrap/bootstrap.py index 0dda7f12007..5f16542ed2f 100644 --- a/src/bootstrap/bootstrap.py +++ b/src/bootstrap/bootstrap.py @@ -294,6 +294,8 @@ class RustBuild(object): env["DYLD_LIBRARY_PATH"] = os.path.join(self.bin_root(), "lib") env["PATH"] = os.path.join(self.bin_root(), "bin") + \ os.pathsep + env["PATH"] + if not os.path.isfile(self.cargo()): + raise Exception("no cargo executable found at `%s`" % self.cargo()) args = [self.cargo(), "build", "--manifest-path", os.path.join(self.rust_root, "src/bootstrap/Cargo.toml")] if self.use_vendored_sources: -- cgit 1.4.1-3-g733a5