diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-04-29 11:23:12 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-29 11:23:12 +0200 |
| commit | 31693cbef774dae1fbcaa0faf06ea806ab2d540c (patch) | |
| tree | 0bbcbb84b94ecfe866cba8d817d387af9cd7f127 | |
| parent | 5560c51738c48d4881c31f7a081011531d14114e (diff) | |
| parent | d51702ae8447137b6b0db1e0d05cee26f599ca37 (diff) | |
| download | rust-31693cbef774dae1fbcaa0faf06ea806ab2d540c.tar.gz rust-31693cbef774dae1fbcaa0faf06ea806ab2d540c.zip | |
Rollup merge of #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 #96463
| -rw-r--r-- | compiler/rustc_target/src/spec/wasm64_unknown_unknown.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_target/src/spec/wasm64_unknown_unknown.rs b/compiler/rustc_target/src/spec/wasm64_unknown_unknown.rs index 609b7d42e43..6826c0ac62b 100644 --- a/compiler/rustc_target/src/spec/wasm64_unknown_unknown.rs +++ b/compiler/rustc_target/src/spec/wasm64_unknown_unknown.rs @@ -36,7 +36,7 @@ pub fn target() -> Target { Target { llvm_target: "wasm64-unknown-unknown".into(), 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(), options, } |
