Skip to content

Commit 88a44c3

Browse files
committed
Athena-specific fixes
Uses a slightly newer Rust build, which includes zkvm Include a few important patches that came after this
1 parent 18589ae commit 88a44c3

File tree

5 files changed

+153
-246
lines changed

5 files changed

+153
-246
lines changed

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ source config.sh
66

77
# Will create component archives (dists) ./rust/build/dist
88
cd rust
9-
./x dist rustc rust-std cargo rust-src rustfmt clippy --target $TOOLCHAIN_HOST_TRIPLET,riscv32em-unknown-none-elf,riscv32ema-unknown-none-elf,riscv64ema-unknown-none-elf
9+
./x dist rustc rust-std cargo rust-src rustfmt clippy --target $TOOLCHAIN_HOST_TRIPLET,riscv32em-athena-zkvm-elf

config.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
param1=${1:-}
44

5-
export RUST_COMMIT=5113ed28ea1451a13eae3a05dca0dbabfd56f587
5+
export RUST_COMMIT=aedd173a2c086e558c2b66d3743b344f977621a7
66

77
# If -rust_commit specified then only export the rust commit variable
88
if [ "$param1" == "-rust_commit" ]; then
@@ -27,7 +27,7 @@ fi
2727

2828
# Toolchain itself does not need to be versioned by default. It makes referencing it from
2929
# various other projects harder while things are in development. Version can be queried by
30-
# calling `rustc --version anyways`. If someone needs to keep an older version they can
30+
# calling `rustc --version anyways`. If someone needs to keep an older version they can
3131
# always rename the folder at install time.
3232
export TOOLCHAIN_NAME=rve-nightly
3333

package.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,7 @@ cd unpack
2828

2929
inst "rustc-nightly-$TOOLCHAIN_HOST_TRIPLET"
3030
inst "rust-std-nightly-$TOOLCHAIN_HOST_TRIPLET"
31-
inst "rust-std-nightly-riscv32em-unknown-none-elf"
32-
inst "rust-std-nightly-riscv32ema-unknown-none-elf"
33-
inst "rust-std-nightly-riscv64ema-unknown-none-elf"
31+
inst "rust-std-nightly-riscv32em-athena-zkvm-elf"
3432
inst "cargo-nightly-$TOOLCHAIN_HOST_TRIPLET"
3533
inst "rust-src-nightly"
3634
inst "rustfmt-nightly-$TOOLCHAIN_HOST_TRIPLET"

0 commit comments

Comments
 (0)