Skip to content

Commit f3830be

Browse files
committed
Update windows bindings and use windows-targets
1 parent fd0aed5 commit f3830be

File tree

5 files changed

+127
-382
lines changed

5 files changed

+127
-382
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ serde = { version = "1.0", optional = true, features = ['derive'] }
3838
cpp_demangle = { default-features = false, version = "0.4.0", optional = true, features = [
3939
"alloc",
4040
] }
41+
windows-targets = "0.52.6"
4142

4243
[target.'cfg(not(all(windows, target_env = "msvc", not(target_vendor = "uwp"))))'.dependencies]
4344
miniz_oxide = { version = "0.7.0", default-features = false }

bindings.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--out src/windows_sys.rs
2-
--config std flatten
2+
--config sys flatten
33
--filter
44
Windows.Win32.Foundation.CloseHandle
55
Windows.Win32.Foundation.FALSE

crates/as-if-std/Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,12 @@ default-features = false
2626
optional = true
2727
features = ['read_core', 'elf', 'macho', 'pe', 'xcoff', 'unaligned', 'archive']
2828

29+
[target.'cfg(windows)'.dependencies]
30+
windows-targets = "0.52.6"
31+
2932
[build-dependencies]
3033
# Dependency of the `backtrace` crate
3134
cc = "1.0.97"
32-
windows-bindgen = "0.56"
3335

3436
[features]
3537
default = ['backtrace']

0 commit comments

Comments
 (0)