about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm_util.rs
diff options
context:
space:
mode:
authorArlie Davis <ardavis@microsoft.com>2021-01-21 12:13:35 -0800
committerArlie Davis <ardavis@microsoft.com>2021-01-22 02:02:39 -0800
commit59855e0bbf0df22f39dbe39bc58ab5c978fb3765 (patch)
treeacc412100caaff41e2adcaadb379ee2a492159a2 /compiler/rustc_codegen_llvm/src/llvm_util.rs
parent25f39fe80293f77bd86f64a1261a3e2c0ca23847 (diff)
downloadrust-59855e0bbf0df22f39dbe39bc58ab5c978fb3765.tar.gz
rust-59855e0bbf0df22f39dbe39bc58ab5c978fb3765.zip
Remove delay-binding for Win XP and Vista
The minimum supported Windows version is now Windows 7. Windows XP
and Windows Vista are no longer supported; both are already broken, and
require extra steps to use.

This commit removes the delayed-binding support for Windows API
functions that are present on all supported Windows targets. This has
several benefits: Removes needless complexity. Removes a load and
dynamic call on hot paths in mutex acquire / release. This may have
performance benefits.

* "Drop official support for Windows XP"
  https://github.com/rust-lang/compiler-team/issues/378

* "Firefox has ended support for Windows XP and Vista"
  https://support.mozilla.org/en-US/kb/end-support-windows-xp-and-vista
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions