Skip to content

Commit 27cc119

Browse files
committed
rustbuild: fix dist in debug mode
Signed-off-by: Marc-Antoine Perennou <[email protected]>
1 parent b796087 commit 27cc119

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)