We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b8cda5 commit 3bab154Copy full SHA for 3bab154
src/bootstrap/src/core/sanity.rs
@@ -96,6 +96,10 @@ pub fn check(build: &mut Build) {
96
path.components().any(|component| skipped_paths.contains(&component.as_os_str()))
97
});
98
99
+ // Skip target sanity checks when doing a local rebuild as in that case stage0
100
+ // likely knows about our new targets.
101
+ skip_target_sanity |= build.config.local_rebuild;
102
+
103
let path = env::var_os("PATH").unwrap_or_default();
104
// On Windows, quotes are invalid characters for filename paths, and if
105
// one is present as part of the PATH then that can lead to the system
0 commit comments