Update x86_64_pc_windows_msvc.rs
Fixed a bug where adding CMPXCHG16B would fail due to different names in Rustc and LLVM
This commit is contained in:
parent
d51e703534
commit
d6766e2bc8
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ use crate::spec::{base, SanitizerSet, Target};
|
||||||
pub fn target() -> Target {
|
pub fn target() -> Target {
|
||||||
let mut base = base::windows_msvc::opts();
|
let mut base = base::windows_msvc::opts();
|
||||||
base.cpu = "x86-64".into();
|
base.cpu = "x86-64".into();
|
||||||
base.features = "+cmpxchg16b,+sse3".into();
|
base.features = "+cx16,+sse3".into();
|
||||||
base.plt_by_default = false;
|
base.plt_by_default = false;
|
||||||
base.max_atomic_width = Some(64);
|
base.max_atomic_width = Some(64);
|
||||||
base.supported_sanitizers = SanitizerSet::ADDRESS;
|
base.supported_sanitizers = SanitizerSet::ADDRESS;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue