Skip to content

Commit 6c43244

Browse files
committed
Fix typos
1 parent 450d6c5 commit 6c43244

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

compiler/rustc_target/src/spec/aarch64_apple_tvos_sim.rs

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
use super::apple_base::{opts, tvos_sim_llvm_target, Arch};
2-
use crate::spec::{FramePointer, SanitizerSet, Target, TargetOptions};
2+
use crate::spec::{FramePointer, Target, TargetOptions};
33

44
pub fn target() -> Target {
55
let arch = Arch::Arm64_sim;
6-
let mut base = opts("ios", arch);
7-
base.supported_sanitizers = SanitizerSet::ADDRESS | SanitizerSet::THREAD;
86
Target {
97
llvm_target: tvos_sim_llvm_target(arch).into(),
108
pointer_width: 64,
@@ -20,14 +18,14 @@ pub fn target() -> Target {
2018
// These arguments are not actually invoked - they just have
2119
// to look right to pass App Store validation.
2220
bitcode_llvm_cmdline: "-triple\0\
23-
arm64-apple-tvos14.0-simulator\0\
21+
arm64-apple-tvos15.0-simulator\0\
2422
-emit-obj\0\
2523
-disable-llvm-passes\0\
2624
-target-abi\0\
2725
darwinpcs\0\
2826
-Os\0"
2927
.into(),
30-
..base
28+
..opts("tvos", arch)
3129
},
3230
}
3331
}

0 commit comments

Comments
 (0)