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 #96463
This commit is contained in:
Alex Crichton 2022-04-27 07:24:43 -07:00
parent 2799141fde
commit d51702ae84

View File

@ -36,7 +36,7 @@ pub fn target() -> Target {
Target { Target {
llvm_target: "wasm64-unknown-unknown".into(), llvm_target: "wasm64-unknown-unknown".into(),
pointer_width: 64, pointer_width: 64,
data_layout: "e-m:e-p:64:64-i64:64-n32:64-S128-ni:1:10:20".into(), data_layout: "e-m:e-p:64:64-p10:8:8-p20:8:8-i64:64-n32:64-S128-ni:1:10:20".into(),
arch: "wasm64".into(), arch: "wasm64".into(),
options, options,
} }