Skip to content

Commit 3cee681

Browse files
committed
Update config
1 parent 7e65c81 commit 3cee681

File tree

3 files changed

+18
-4
lines changed

3 files changed

+18
-4
lines changed

build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ source config.sh
66

77
# Will create component archives (dists) ./rust/build/dist
88
cd rust
9-
CARGO_TARGET_RISCV32EM_ATHENA_ZKVM_ELF_RUSTFLAGS="-Cpasses=loweratomic" ./x build
10-
CARGO_TARGET_RISCV32EM_ATHENA_ZKVM_ELF_RUSTFLAGS="-Cpasses=loweratomic" ./x build --stage 2
9+
CARGO_TARGET_RISCV32EM_ATHENA_ZKVM_ELF_RUSTFLAGS="-Cpasses=loweratomic" ./x build --target $TOOLCHAIN_HOST_TRIPLET,riscv32em-athena-zkvm-elf
10+
CARGO_TARGET_RISCV32EM_ATHENA_ZKVM_ELF_RUSTFLAGS="-Cpasses=loweratomic" ./x build --stage 2 --target $TOOLCHAIN_HOST_TRIPLET,riscv32em-athena-zkvm-elf

patches/config.ci.toml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
change-id = 121754
2+
3+
[build]
4+
extended = true
5+
tools = ["cargo", "cargo-clippy", "clippy", "rustfmt"]
6+
configure-args = []
7+
cargo-native-static = true
8+
9+
[rust]
10+
lld = true
11+
llvm-tools = true
12+
channel = "nightly"
13+
14+
[llvm]
15+
targets = "AArch64;RISCV;X86"

patches/config.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
change-id = 121754
22

33
[build]
4-
target = ["riscv32em-athena-zkvm-elf"]
54
extended = true
65
tools = ["cargo", "cargo-clippy", "clippy", "rustfmt"]
76
configure-args = []
@@ -12,4 +11,4 @@ llvm-tools = true
1211
channel = "nightly"
1312

1413
[llvm]
15-
download-ci-llvm = false
14+
targets = "AArch64;RISCV;X86"

0 commit comments

Comments
 (0)