about summary refs log tree commit diff
path: root/compiler/rustc_builtin_macros/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-06-02 07:58:29 +0000
committerbors <bors@rust-lang.org>2022-06-02 07:58:29 +0000
commit5e6bb83268518dcd74c96b5504f485b71e604e4c (patch)
tree3145c686b4ed2b423a433cfe8002c86eca67dc89 /compiler/rustc_builtin_macros/src
parentfb1976011e3df96b5d3eccd6b2f4e51ef7dc8f16 (diff)
parent7255bc63387eacd097e960800a05299c93e57d4d (diff)
downloadrust-5e6bb83268518dcd74c96b5504f485b71e604e4c.tar.gz
rust-5e6bb83268518dcd74c96b5504f485b71e604e4c.zip
Auto merge of #96737 - ChrisDenton:win-manifest, r=wesleywiser
Add Windows application manifest to rustc-main

Windows allows setting some runtime options using a manifest file. The format of the XML file is documented here: https://docs.microsoft.com/en-us/windows/win32/sbscs/application-manifests

The manifest file in this PR does three things:

* Declares which Windows versions we support. This may help avoid unnecessary compatibility shims.
* Uses the UTF-8 code page. While Rust itself uses UTF-16 APIs, other code may rely on the code page.
* Makes the application long path aware (if also enabled by the user). This allows for the current directory to be longer than `PATH_MAX`.

These changes only affect the `rustc` process and not any other DLLs or compiled programs.
Diffstat (limited to 'compiler/rustc_builtin_macros/src')
0 files changed, 0 insertions, 0 deletions