Skip to content

Commit 7e2e710

Browse files
authored
Rollup merge of rust-lang#96477 - alexcrichton:update-wasm64-data-layout, r=wesleywiser
Update data layout string for wasm64-unknown-unknown Looks like this changed in a recent LLVM update but wasm64 isn't built on CI so it wasn't caught until now. Closes rust-lang#96463
2 parents 4388b6f + d51702a commit 7e2e710

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_target/src/spec/wasm64_unknown_unknown.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ pub fn target() -> Target {
3636
Target {
3737
llvm_target: "wasm64-unknown-unknown".into(),
3838
pointer_width: 64,
39-
data_layout: "e-m:e-p:64:64-i64:64-n32:64-S128-ni:1:10:20".into(),
39+
data_layout: "e-m:e-p:64:64-p10:8:8-p20:8:8-i64:64-n32:64-S128-ni:1:10:20".into(),
4040
arch: "wasm64".into(),
4141
options,
4242
}

0 commit comments

Comments
 (0)