Skip to content

Commit 952fd34

Browse files
committed
zerotier#213 compilation error fix (windows)
1 parent 8d21a26 commit 952fd34

File tree

2 files changed

+59
-142
lines changed

2 files changed

+59
-142
lines changed

pkg/crate/libzt/Cargo.lock

Lines changed: 57 additions & 139 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/crate/libzt/Cargo.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,14 @@ categories = ["network-programming", "cryptography"]
1515
[dependencies]
1616

1717
[build-dependencies]
18-
bindgen = "0.58"
18+
bindgen = "0.66"
1919
libc = "0.2"
2020
cmake = "0.1"
2121

2222
[lib]
2323
name = "libzt"
2424
path = "src/lib.rs"
2525

26-
[[example]]
26+
[[target.'cfg(unix)'.example]]
2727
name = "libzt-test-app"
2828
path = "src/examples/libzt-test-app.rs"
29-

0 commit comments

Comments
 (0)