Skip to content

Commit

Permalink
Add support for "x86_64-pc-windows-msvc" on Azure Pipelines.
Browse files Browse the repository at this point in the history
  • Loading branch information
DiXN committed Sep 8, 2019
1 parent 3fa5f1b commit 2c90bc5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ strategy:
thumbv7em-none-eabi: { TARGET: thumbv7em-none-eabi, STD: 1 }
thumbv7em-none-eabihf: { TARGET: thumbv7em-none-eabihf, STD: 1 }
thumbv7m-none-eabi: { TARGET: thumbv7m-none-eabi, STD: 1 }
x86_64-pc-windows-msvc: { TARGET: x86_64-pc-windows-msvc, CPP: 1, STD: 1, RUN: 1, VM_IMAGE: vs2017-win2016, DEPLOY: 1 }

steps:
- template: ci/azure-install-rust.yml
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ impl Host {
} else if *self == Host::X86_64UnknownLinuxGnu {
target.map(|t| t.needs_docker()).unwrap_or(true)
} else if *self == Host::X86_64PcWindowsMsvc {
target.map(|t| t.needs_docker()).unwrap_or(false)
target.map(|t| t.triple() != Host::X86_64PcWindowsMsvc.triple() && t.needs_docker()).unwrap_or(false)
} else {
false
}
Expand Down

0 comments on commit 2c90bc5

Please sign in to comment.