diff options
| author | Sebastian Imlay <sebastian.imlay@gmail.com> | 2023-09-12 09:22:24 -0400 |
|---|---|---|
| committer | Sebastian Imlay <sebastian.imlay@gmail.com> | 2023-10-06 11:11:33 -0400 |
| commit | 6c43244ff6e8b9725510680b5b03ac30f5d23d66 (patch) | |
| tree | dc6745164a8b844780ee6bfe843ca912c55aea7a /compiler | |
| parent | 450d6c56ebc2dbc827c0db7a909f9f89d2a17961 (diff) | |
| download | rust-6c43244ff6e8b9725510680b5b03ac30f5d23d66.tar.gz rust-6c43244ff6e8b9725510680b5b03ac30f5d23d66.zip | |
Fix typos
Diffstat (limited to 'compiler')
| -rw-r--r-- | compiler/rustc_target/src/spec/aarch64_apple_tvos_sim.rs | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/compiler/rustc_target/src/spec/aarch64_apple_tvos_sim.rs b/compiler/rustc_target/src/spec/aarch64_apple_tvos_sim.rs index f203ba53c2a..909a52a5097 100644 --- a/compiler/rustc_target/src/spec/aarch64_apple_tvos_sim.rs +++ b/compiler/rustc_target/src/spec/aarch64_apple_tvos_sim.rs @@ -1,10 +1,8 @@ use super::apple_base::{opts, tvos_sim_llvm_target, Arch}; -use crate::spec::{FramePointer, SanitizerSet, Target, TargetOptions}; +use crate::spec::{FramePointer, Target, TargetOptions}; pub fn target() -> Target { let arch = Arch::Arm64_sim; - let mut base = opts("ios", arch); - base.supported_sanitizers = SanitizerSet::ADDRESS | SanitizerSet::THREAD; Target { llvm_target: tvos_sim_llvm_target(arch).into(), pointer_width: 64, @@ -20,14 +18,14 @@ pub fn target() -> Target { // These arguments are not actually invoked - they just have // to look right to pass App Store validation. bitcode_llvm_cmdline: "-triple\0\ - arm64-apple-tvos14.0-simulator\0\ + arm64-apple-tvos15.0-simulator\0\ -emit-obj\0\ -disable-llvm-passes\0\ -target-abi\0\ darwinpcs\0\ -Os\0" .into(), - ..base + ..opts("tvos", arch) }, } } |
