]> git.proxmox.com Git - rustc.git/blobdiff - compiler/rustc_target/src/spec/x86_64_apple_tvos.rs
New upstream version 1.61.0+dfsg1
[rustc.git] / compiler / rustc_target / src / spec / x86_64_apple_tvos.rs
index e3a5de4cbd1a403cfb900092cf00d969d3346720..a848c5a0affea9ae4af1a60283b1488319d4dd76 100644 (file)
@@ -4,10 +4,10 @@ use crate::spec::{StackProbeType, Target, TargetOptions};
 pub fn target() -> Target {
     let base = opts("tvos", Arch::X86_64);
     Target {
-        llvm_target: "x86_64-apple-tvos".to_string(),
+        llvm_target: "x86_64-apple-tvos".into(),
         pointer_width: 64,
-        data_layout: "e-m:o-i64:64-f80:128-n8:16:32:64-S128".to_string(),
-        arch: "x86_64".to_string(),
+        data_layout: "e-m:o-i64:64-f80:128-n8:16:32:64-S128".into(),
+        arch: "x86_64".into(),
         options: TargetOptions {
             max_atomic_width: Some(64),
             // don't use probe-stack=inline-asm until rust#83139 and rust#84667 are resolved