mirror of
https://github.com/eth-act/ere.git
synced 2026-04-03 03:00:17 -04:00
Update zkVMs (#259)
This commit is contained in:
@@ -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).
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user