Skip to content

Commit bb745d6

Browse files
committed
update data layout for illumos x86
In a recent change, 8b19922, adjustments were made to the data layout we pass to LLVM. Unfortunately, the illumos target was missed in this change. See also: #67900
1 parent 4512721 commit bb745d6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/librustc_target/spec/x86_64_unknown_illumos.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ pub fn target() -> TargetResult {
1313
target_endian: "little".to_string(),
1414
target_pointer_width: "64".to_string(),
1515
target_c_int_width: "32".to_string(),
16-
data_layout: "e-m:e-i64:64-f80:128-n8:16:32:64-S128".to_string(),
16+
data_layout: "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
17+
.to_string(),
1718
arch: "x86_64".to_string(),
1819
target_os: "illumos".to_string(),
1920
target_env: String::new(),

0 commit comments

Comments
 (0)