Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/lints.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
components: rustfmt, clippy
targets: riscv32im-unknown-none-elf
# TODO: figure out way to keep this in sync with rust-toolchain.toml automatically
toolchain: nightly-2025-08-18
toolchain: nightly-2025-11-20
- name: Cargo cache
uses: actions/cache@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
with:
targets: riscv32im-unknown-none-elf
# TODO: figure out way to keep this in sync with rust-toolchain.toml automatically
toolchain: nightly-2025-08-18
toolchain: nightly-2025-11-20
- name: Cargo cache
uses: actions/cache@v4
with:
Expand Down
111 changes: 71 additions & 40 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ceno_cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ gkr_iop = { path = "../gkr_iop" }
mpcs.workspace = true

[build-dependencies]
vergen-git2 = { version = "1", features = ["build", "cargo", "rustc", "emit_and_set"] }
vergen-git2 = { version = "9.1.0", features = ["build", "cargo", "rustc", "emit_and_set"] }

[features]
gpu = ["gkr_iop/gpu", "ceno_zkvm/gpu", "ceno_recursion/gpu", "dep:openvm-cuda-backend", "openvm-native-circuit/cuda"]
Expand Down
5 changes: 3 additions & 2 deletions ceno_cli/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,13 @@ pub fn search_workspace_root<P: AsRef<Path>>(path: P) -> anyhow::Result<PathBuf>
pub fn get_rust_flags() -> String {
const BASE_RUST_FLAGS: &[&str] = &[
"-C",
"panic=abort",
"panic=immediate-abort",
"-C",
"link-arg=-Tmemory.x",
"-C",
"link-arg=-Tceno_link.x",
"-Zlocation-detail=none",
"-Zunstable-options",
"-C",
"passes=lower-atomic",
"--cfg",
Expand All @@ -104,7 +105,7 @@ pub fn apply_cargo_build_std_args(command: &mut Command) {
"-Z",
"build-std=alloc,core,compiler_builtins,std,panic_abort,proc_macro",
"-Z",
"build-std-features=compiler-builtins-mem,panic_immediate_abort,default",
"build-std-features=compiler-builtins-mem,default",
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

panic_immediate_abort is default in nightly-2025-11-20.

];
command.args(BASE_CARGO_ARGS);
}
Expand Down
2 changes: 1 addition & 1 deletion ceno_rt/riscv32im-ceno-zkvm-elf.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@
"singlethread": true,
"target-c-int-width": 32,
"target-endian": "little",
"target-pointer-width": "32"
"target-pointer-width": 32
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's an integer rather than a string like target-c-int-width.

}
2 changes: 1 addition & 1 deletion ceno_zkvm/src/bin/bitwise_keccak.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use ceno_zkvm::precompiles::{run_bitwise_keccakf, setup_bitwise_keccak_gkr_circuit};
use clap::{Parser, command};
use clap::Parser;
use ff_ext::GoldilocksExt2;
use itertools::Itertools;
use mpcs::BasefoldDefault;
Expand Down
2 changes: 1 addition & 1 deletion ceno_zkvm/src/bin/lookup_keccak.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use ceno_zkvm::precompiles::{run_lookup_keccakf, setup_lookup_keccak_gkr_circuit};
use clap::{Parser, command};
use clap::Parser;
use ff_ext::GoldilocksExt2;
use itertools::Itertools;
use mpcs::BasefoldDefault;
Expand Down
1 change: 1 addition & 0 deletions ceno_zkvm/src/precompiles/lookup_keccakf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,7 @@ impl<E: ExtensionField> ProtocolBuilder<E> for KeccakLayout<E> {
// iterator over split witnesses
let mut rotation_witness = rotation_witness.iter();

#[allow(clippy::needless_range_loop)]
for i in 0..5 {
#[allow(clippy::needless_range_loop)]
for j in 0..5 {
Expand Down
Loading