Update data layout for wasm32 targets
New address spaces were added in https://reviews.llvm.org/D111154.
This commit is contained in:
committed by
Nikita Popov
parent
a380581ff8
commit
70ddd2ff1c
@@ -43,7 +43,8 @@ pub fn target() -> Target {
|
||||
Target {
|
||||
llvm_target: "wasm32-unknown-emscripten".to_string(),
|
||||
pointer_width: 32,
|
||||
data_layout: "e-m:e-p:32:32-i64:64-f128:64-n32:64-S128-ni:1:10:20".to_string(),
|
||||
data_layout: "e-m:e-p:32:32-p10:8:8-p20:8:8-i64:64-f128:64-n32:64-S128-ni:1:10:20"
|
||||
.to_string(),
|
||||
arch: "wasm32".to_string(),
|
||||
options: opts,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user