diff options
| author | CKingX <CKingX@users.noreply.github.com> | 2024-02-09 09:19:59 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-09 09:19:59 -0800 |
| commit | fcb06f7ca2a20d030fdd5f9c53b684557f17c00c (patch) | |
| tree | c616d92524aa41e12543c9dfcb7964af1968bec3 | |
| parent | d6766e2bc8eb6cfd695f2c9e931c7a712da474ff (diff) | |
| download | rust-fcb06f7ca2a20d030fdd5f9c53b684557f17c00c.tar.gz rust-fcb06f7ca2a20d030fdd5f9c53b684557f17c00c.zip | |
Update x86_64_pc_windows_msvc.rs
As CMPXCHG16B is supported, I updated the max atomic width to 128-bits from 64-bits
| -rw-r--r-- | compiler/rustc_target/src/spec/targets/x86_64_pc_windows_msvc.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_target/src/spec/targets/x86_64_pc_windows_msvc.rs b/compiler/rustc_target/src/spec/targets/x86_64_pc_windows_msvc.rs index f7dc60df0f4..e72e97db775 100644 --- a/compiler/rustc_target/src/spec/targets/x86_64_pc_windows_msvc.rs +++ b/compiler/rustc_target/src/spec/targets/x86_64_pc_windows_msvc.rs @@ -5,7 +5,7 @@ pub fn target() -> Target { base.cpu = "x86-64".into(); base.features = "+cx16,+sse3".into(); base.plt_by_default = false; - base.max_atomic_width = Some(64); + base.max_atomic_width = Some(128); base.supported_sanitizers = SanitizerSet::ADDRESS; Target { |
