-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Description
When x.py
is invoked both by vscode and from the terminal directly, "bootstrap" is rebuilt each time. I think in the end this is due to that line:
Line 7 in 10cc7a6
println!("cargo:rerun-if-env-changed=PATH"); |
Indeed PATH
is almost certainly different between the two environments. (vscode lives inside a sandbox, it just runs too many untrusted things to be granted access to my files and keys.)
Rebuilding on every PATH
change seems excessive, is that truly needed?
Cc @jyn514 @Mark-Simulacrum
Metadata
Metadata
Assignees
Labels
T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)