Skip to content

Commit

Permalink
skip copy of windows-gnu libs in check-only mode
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Mar 2, 2020
1 parent 3ec2bf3 commit 70229ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sysroot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ version = "0.0.0"
let dst = rustlib.parent().join("lib");
util::mkdir(&dst)?;

if cmode.triple().contains("pc-windows-gnu") {
if cmode.triple().contains("pc-windows-gnu") && cargo_mode == XargoMode::Build {
let src = &sysroot
.path()
.join("lib")
Expand Down

0 comments on commit 70229ed

Please sign in to comment.