]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_target/spec/i686_apple_darwin.rs
Auto merge of #68414 - michaelwoerister:share-drop-glue, r=alexcrichton
[rust.git] / src / librustc_target / spec / i686_apple_darwin.rs
index 27d05823bf21e15bf50fde7239d164a05633f0bd..033b87b110e12c54034d9db550de0775a437b7b8 100644 (file)
@@ -20,15 +20,14 @@ pub fn target() -> TargetResult {
         target_endian: "little".to_string(),
         target_pointer_width: "32".to_string(),
         target_c_int_width: "32".to_string(),
-        data_layout: "e-m:o-p:32:32-f64:32:64-f80:128-n8:16:32-S128".to_string(),
+        data_layout: "e-m:o-p:32:32-p270:32:32-p271:32:32-p272:64:64-\
+            f64:32:64-f80:128-n8:16:32-S128"
+            .to_string(),
         arch: "x86".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 },
     })
 }