diff options
| author | 许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com> | 2025-01-12 11:43:06 +0800 |
|---|---|---|
| committer | 许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com> | 2025-01-13 08:16:18 +0800 |
| commit | a4b9aa3e6e46bdf0674b64940eaf89498fa46223 (patch) | |
| tree | 78456cb041e996b1cc42b857c975cac975bc5e16 /src/bootstrap/bootstrap.py | |
| parent | 1307c950c4c84a71f9abe692418d9e473d9e908b (diff) | |
| download | rust-a4b9aa3e6e46bdf0674b64940eaf89498fa46223.tar.gz rust-a4b9aa3e6e46bdf0674b64940eaf89498fa46223.zip | |
bootstrap.py: build bootstrap binary with `--features=tracing` if `BOOTSTRAP_TRACING` env var is set
Diffstat (limited to 'src/bootstrap/bootstrap.py')
| -rw-r--r-- | src/bootstrap/bootstrap.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bootstrap/bootstrap.py b/src/bootstrap/bootstrap.py index 89415afbe3b..76ee40c6f45 100644 --- a/src/bootstrap/bootstrap.py +++ b/src/bootstrap/bootstrap.py @@ -1129,6 +1129,10 @@ class RustBuild(object): "-Zroot-dir=" + self.rust_root, ] args.extend("--verbose" for _ in range(self.verbose)) + + if "BOOTSTRAP_TRACING" in env: + args.append("--features=tracing") + if self.use_locked_deps: args.append("--locked") if self.use_vendored_sources: |
