Skip to content

Commit

Permalink
Fix Windows build
Browse files Browse the repository at this point in the history
- Harmonize winapi with native-tls/schannel: add override.

- Incorporate a fix for schannel which adds a Send bound to CertStore
  (sfackler/schannel-rs#10).
  • Loading branch information
inejge committed Jun 16, 2016
1 parent 9dd058f commit 2baa4c0
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,6 @@ test = false # no unit tests
name = "rustup-init"
path = "src/rustup-cli/main.rs"
test = false # no unit tests

[replace]
"winapi:0.2.7" = { git = "https://github.com/sfackler/winapi-rs" }
3 changes: 3 additions & 0 deletions src/rustup-dist/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,6 @@ libc = "0.2.0"

[lib]
name = "rustup_dist"

[replace]
"winapi:0.2.7" = { git = "https://github.com/sfackler/winapi-rs" }
3 changes: 3 additions & 0 deletions src/rustup-mock/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,6 @@ sha2 = "0.1.2"
[target."cfg(windows)".dependencies]
winapi = "0.2.4"
winreg = "0.3.2"

[replace]
"winapi:0.2.7" = { git = "https://github.com/sfackler/winapi-rs" }
3 changes: 3 additions & 0 deletions src/rustup-utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,6 @@ ole32-sys = "0.2.0"
kernel32-sys = "0.2.1"
advapi32-sys = "0.2.0"
userenv-sys = "0.2.0"

[replace]
"winapi:0.2.7" = { git = "https://github.com/sfackler/winapi-rs" }

0 comments on commit 2baa4c0

Please sign in to comment.