Skip to content

Commit 7e65c81

Browse files
committed
Update CI workflow, update data layout
Update data layout to match LLVM built-in riscv32em
1 parent 1386813 commit 7e65c81

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,6 @@ jobs:
4242
submodules: recursive
4343
path: toolchain
4444

45-
- name: Check out succinctlabs/rust
46-
uses: actions/checkout@v3
47-
with:
48-
repository: succinctlabs/rust
49-
path: toolchain/rust
50-
fetch-depth: 0
51-
5245
- name: Check out athenavm/athena
5346
uses: actions/checkout@v3
5447
with:

patches/rust.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ index eab9138b..60507063 100644
2424
"riscv32im-unknown-none-elf",
2525
diff --git a/compiler/rustc_target/src/spec/targets/riscv32em_athena_zkvm_elf.rs b/compiler/rustc_target/src/spec/targets/riscv32em_athena_zkvm_elf.rs
2626
new file mode 100644
27-
index 00000000..2a95006c
27+
index 00000000..a84f76c2
2828
--- /dev/null
2929
+++ b/compiler/rustc_target/src/spec/targets/riscv32em_athena_zkvm_elf.rs
3030
@@ -0,0 +1,44 @@
@@ -33,7 +33,7 @@ index 00000000..2a95006c
3333
+
3434
+pub fn target() -> Target {
3535
+ Target {
36-
+ data_layout: "e-m:e-p:32:32-i64:64-n32-S128".into(),
36+
+ data_layout: "e-m:e-p:32:32-i64:64-n32-S32".into(),
3737
+ llvm_target: "riscv32".into(),
3838
+ metadata: crate::spec::TargetMetadata {
3939
+ description: None,

0 commit comments

Comments
 (0)