Update zkVMs (#259)

This commit is contained in:
Han
2025-12-30 21:01:10 +09:00
committed by GitHub
parent 02d7c9a9ef
commit fd985bf542
18 changed files with 209 additions and 167 deletions

View File

@@ -1,4 +1,4 @@
/* Copied from https://github.com/matter-labs/zksync-airbender/blob/v0.5.1/examples/scripts/asm/asm_reduced.S */
/* Copied from https://github.com/matter-labs/zksync-airbender/blob/v0.5.2/examples/scripts/asm/asm_reduced.S */
/*
Entry point of all programs (_start).

View File

@@ -34,9 +34,9 @@ fn __start(_argc: isize, _argv: *const *const u8) -> isize {
}
/// Halts the program with the given exit code.
/// According to https://github.com/brevis-network/pico/blob/v1.2.0/sdk/sdk/src/riscv_ecalls/halt.rs#L15
/// According to https://github.com/brevis-network/pico/blob/v1.2.2/sdk/sdk/src/riscv_ecalls/halt.rs#L15
/// TODO: Check what `coprocessor` feature does and integrate here.
/// Contex https://github.com/brevis-network/pico/blob/v1.2.0/sdk/sdk/src/riscv_ecalls/halt.rs#L18
/// Contex https://github.com/brevis-network/pico/blob/v1.2.2/sdk/sdk/src/riscv_ecalls/halt.rs#L18
#[allow(unused_variables)]
pub extern "C" fn syscall_halt(exit_code: u8) -> ! {
unsafe {