]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_target/spec/x86_64_apple_darwin.rs
Auto merge of #68414 - michaelwoerister:share-drop-glue, r=alexcrichton
[rust.git] / src / librustc_target / spec / x86_64_apple_darwin.rs
index d059e44c5c82ac82656bcc7399c452dadfb6ee72..e846f42f8f849b9b10b8e5225a06057f889aff18 100644 (file)
@@ -20,15 +20,13 @@ pub fn target() -> TargetResult {
         target_endian: "little".to_string(),
         target_pointer_width: "64".to_string(),
         target_c_int_width: "32".to_string(),
-        data_layout: "e-m:o-i64:64-f80:128-n8:16:32:64-S128".to_string(),
+        data_layout: "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
+            .to_string(),
         arch: arch.to_string(),
         target_os: "macos".to_string(),
         target_env: String::new(),
         target_vendor: "apple".to_string(),
         linker_flavor: LinkerFlavor::Gcc,
-        options: TargetOptions {
-            target_mcount: "\u{1}mcount".to_string(),
-            .. base
-        },
+        options: TargetOptions { target_mcount: "\u{1}mcount".to_string(), ..base },
     })
 }