Skip to content

Commit d6766e2

Browse files
authored
Update x86_64_pc_windows_msvc.rs
Fixed a bug where adding CMPXCHG16B would fail due to different names in Rustc and LLVM
1 parent d51e703 commit d6766e2

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
@@ -3,7 +3,7 @@ use crate::spec::{base, SanitizerSet, Target};
33
pub fn target() -> Target {
44
let mut base = base::windows_msvc::opts();
55
base.cpu = "x86-64".into();
6-
base.features = "+cmpxchg16b,+sse3".into();
6+
base.features = "+cx16,+sse3".into();
77
base.plt_by_default = false;
88
base.max_atomic_width = Some(64);
99
base.supported_sanitizers = SanitizerSet::ADDRESS;

0 commit comments

Comments
 (0)