Skip to content

Commit 8da0936

Browse files
authored
Merge pull request meta-rust#287 from YoeDistro/yoe/mut
rust: Correct the data layout for riscv32
2 parents fa5cdb0 + a59ddd9 commit 8da0936

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

recipes-devtools/rust/rust.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ TARGET_C_INT_WIDTH[powerpc] = "32"
236236
MAX_ATOMIC_WIDTH[powerpc] = "32"
237237

238238
## riscv32-unknown-linux-{gnu, musl}
239-
DATA_LAYOUT[riscv32] = "e-m:e-p:64:64-i64:64-i128:128-n64-S128"
239+
DATA_LAYOUT[riscv32] = "e-m:e-p:32:32-i64:64-n32-S128"
240240
LLVM_TARGET[riscv32] = "${RUST_TARGET_SYS}"
241241
TARGET_ENDIAN[riscv32] = "little"
242242
TARGET_POINTER_WIDTH[riscv32] = "32"

0 commit comments

Comments
 (0)