]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_target/spec/x86_64_rumprun_netbsd.rs
Auto merge of #68414 - michaelwoerister:share-drop-glue, r=alexcrichton
[rust.git] / src / librustc_target / spec / x86_64_rumprun_netbsd.rs
index f6861f2a6872727943578fb28b8b8e4ea30702a3..fbade02c5569037845aa399678bab9690206d5bc 100644 (file)
@@ -18,15 +18,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:e-i64:64-f80:128-n8:16:32:64-S128".to_string(),
+        data_layout: "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
+            .to_string(),
         arch: "x86_64".to_string(),
         target_os: "netbsd".to_string(),
         target_env: String::new(),
         target_vendor: "rumprun".to_string(),
         linker_flavor: LinkerFlavor::Gcc,
-        options: TargetOptions {
-            target_mcount: "__mcount".to_string(),
-            .. base
-        },
+        options: TargetOptions { target_mcount: "__mcount".to_string(), ..base },
     })
 }