We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3809bbf + 52e1c84 commit 94516c5Copy full SHA for 94516c5
src/bootstrap/sanity.rs
@@ -140,14 +140,18 @@ pub fn check(build: &mut Build) {
140
continue;
141
}
142
143
- cmd_finder.must_have(build.cc(*target));
144
- if let Some(ar) = build.ar(*target) {
145
- cmd_finder.must_have(ar);
+ if !build.config.dry_run {
+ cmd_finder.must_have(build.cc(*target));
+ if let Some(ar) = build.ar(*target) {
146
+ cmd_finder.must_have(ar);
147
+ }
148
149
150
151
for host in &build.hosts {
- cmd_finder.must_have(build.cxx(*host).unwrap());
152
153
+ cmd_finder.must_have(build.cxx(*host).unwrap());
154
155
156
// The msvc hosts don't use jemalloc, turn it off globally to
157
// avoid packaging the dummy liballoc_jemalloc on that platform.
0 commit comments