Skip to content

Commit 94534ca

Browse files
committed
check exec_ctx for out initialization during dry run in config parsing
1 parent c57c2f0 commit 94534ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/src/core/config/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1238,7 +1238,7 @@ impl Config {
12381238
};
12391239

12401240
// Handle dry run directory switch, should be strictly below initial_cargo
1241-
if config.dry_run() {
1241+
if exec_ctx.dry_run() {
12421242
let dir = out.join("tmp-dry-run");
12431243
t!(fs::create_dir_all(&dir));
12441244
out = dir;

0 commit comments

Comments
 (0)