]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_target/spec/x86_64_unknown_hermit.rs
Auto merge of #68414 - michaelwoerister:share-drop-glue, r=alexcrichton
[rust.git] / src / librustc_target / spec / x86_64_unknown_hermit.rs
index c9123aae90dda799b49a38397f48a98a5240d6a6..4a526f90ed5bc0f3d9ab504ece7e5476ef284207 100644 (file)
@@ -12,7 +12,8 @@ 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: "hermit".to_string(),
         target_env: String::new(),