about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/Linker.cpp
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-11-24 08:23:52 +0100
committerGitHub <noreply@github.com>2023-11-24 08:23:52 +0100
commit7e3ec1b0e25915fb16ae43223752a25d50e3ce0f (patch)
tree8646c6cb05d381ef142454a721b0b4fc504a9172 /compiler/rustc_llvm/llvm-wrapper/Linker.cpp
parentb8657093d6fe834af76bb28d5fd71dc67853112f (diff)
parent00a12af3ca17746f3e4548d783b7107f42155101 (diff)
downloadrust-7e3ec1b0e25915fb16ae43223752a25d50e3ce0f.tar.gz
rust-7e3ec1b0e25915fb16ae43223752a25d50e3ce0f.zip
Rollup merge of #117656 - ChrisDenton:invalid, r=thomcc
Update windows-bindgen and define `INVALID_HANDLE_VALUE` ourselves

We generate bindings to the Windows API via the `windows-bindgen` crate, which is ultimately what's also used to generate the `windows-sys` and `windows` crates. However, there currently is some custom sauce just for std which makes it a bit different from the vanilla bindings. I would love for us to reduce and eventually remove the differences entirely so that std is using the exact same bindings as everyone else. Maybe in the future we can even just have a normal dependency on `windows-sys`.

This PR removes one of those special things. Our definition of `INVALID_HANDLE_VALUE` relies on an experimental nightly feature for strict provenance, so lets bring that back in house. It also excludes it from the codegen step though that isn't strictly necessary as we override it in any case.

This PR also updates windows-bingen to 0.52.0.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/Linker.cpp')
0 files changed, 0 insertions, 0 deletions