windows: Bump windows-rs version (#14719)

Release Notes:

- N/A
This commit is contained in:
张小白 2024-07-26 01:41:59 +08:00 committed by GitHub
parent 82d6ad4616
commit d2501e8886
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 164 additions and 90 deletions

View file

@ -12,3 +12,7 @@ rustflags = ["-C", "link-arg=-fuse-ld=mold"]
[target.aarch64-unknown-linux-gnu]
linker = "clang"
rustflags = ["-C", "link-arg=-fuse-ld=mold"]
# This cfg will reduce the size of `windows::core::Error` from 16 bytes to 4 bytes
[target.'cfg(target_os = "windows")']
rustflags = ["--cfg", "windows_slim_errors"]