Skip to content

Commit fcb06f7

Browse files
authored
Update x86_64_pc_windows_msvc.rs
As CMPXCHG16B is supported, I updated the max atomic width to 128-bits from 64-bits
1 parent d6766e2 commit fcb06f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_target/src/spec/targets/x86_64_pc_windows_msvc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ pub fn target() -> Target {
55
base.cpu = "x86-64".into();
66
base.features = "+cx16,+sse3".into();
77
base.plt_by_default = false;
8-
base.max_atomic_width = Some(64);
8+
base.max_atomic_width = Some(128);
99
base.supported_sanitizers = SanitizerSet::ADDRESS;
1010

1111
Target {

0 commit comments

Comments
 (0)