Skip to content

Commit bb30054

Browse files
committed
Fixing superfluous download of pre-built target rust-std when build-std is true
1 parent ba030a6 commit bb30054

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -624,6 +624,7 @@ To override the toolchain mounted in the image, set `target.{}.image.toolchain =
624624
}
625625

626626
if !uses_xargo
627+
&& !uses_build_std
627628
&& !available_targets.is_installed(&target)
628629
&& available_targets.contains(&target)
629630
{

0 commit comments

Comments
 (0)