Auto merge of #125942 - timokroeger:windows-once-futex, r=ChrisDenton · patricklam/verify-rust-std@b164bab (original) (raw)
Navigation Menu
- GitHub Copilot Write better code with AI
- GitHub Models New Manage and compare prompts
- GitHub Advanced Security Find and fix vulnerabilities
- Actions Automate any workflow
- Codespaces Instant dev environments
- Issues Plan and track work
- Code Review Manage code changes
- Discussions Collaborate outside of code
- Code Search Find more, search less
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Commit b164bab
Auto merge of rust-lang#125942 - timokroeger:windows-once-futex, r=ChrisDenton
Windows: Use futex implementation for `Once` Keep the queue implementation for win7. Inspired by PR rust-lang#121956
File tree
1 file changed
lines changed
1 file changed
lines changed
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -9,6 +9,7 @@ | ||
9 | 9 | |
10 | 10 | cfg_if::cfg_if! { |
11 | 11 | if #[cfg(any( |
12 | + all(target_os = "windows", not(target_vendor="win7")), | |
12 | 13 | target_os = "linux", |
13 | 14 | target_os = "android", |
14 | 15 | all(target_arch = "wasm32", target_feature = "atomics"), |