Skip to content

Commit 4371862

Browse files
committed
Rollup merge of #45382 - Keruspe:master, r=Mark-Simulacrum
rustbuild: fix dist in debug mode In debug mode, the artifacts are placed in "debug", so don't hardcode "release" and use our helper to get the right directory name
2 parents dd41422 + 27cc119 commit 4371862

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/dist.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ impl Step for Analysis {
630630
let image = tmpdir(build).join(format!("{}-{}-image", name, target));
631631

632632
let src = build.stage_out(compiler, Mode::Libstd)
633-
.join(target).join("release").join("deps");
633+
.join(target).join(build.cargo_dir()).join("deps");
634634

635635
let image_src = src.join("save-analysis");
636636
let dst = image.join("lib/rustlib").join(target).join("analysis");

0 commit comments

Comments
 (0)