Skip to content

Commit a4b9aa3

Browse files
committed
bootstrap.py: build bootstrap binary with --features=tracing if BOOTSTRAP_TRACING env var is set
1 parent 1307c95 commit a4b9aa3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/bootstrap/bootstrap.py

+4
Original file line numberDiff line numberDiff line change
@@ -1129,6 +1129,10 @@ def build_bootstrap_cmd(self, env):
11291129
"-Zroot-dir=" + self.rust_root,
11301130
]
11311131
args.extend("--verbose" for _ in range(self.verbose))
1132+
1133+
if "BOOTSTRAP_TRACING" in env:
1134+
args.append("--features=tracing")
1135+
11321136
if self.use_locked_deps:
11331137
args.append("--locked")
11341138
if self.use_vendored_sources:

0 commit comments

Comments
 (0)