sp1-core-executor 6.1.0

RISC-V executor for SP1
Documentation
1
2
3
4
5
6
7
8
9
10
11
use super::SyscallRuntime;
use crate::SyscallCode;

pub(crate) fn hint_len_syscall<'a, RT: SyscallRuntime<'a>>(
    ctx: &mut RT,
    _: SyscallCode,
    _: u64,
    _: u64,
) -> Option<u64> {
    ctx.core_mut().mem_reads().next().map(|mem_value| mem_value.value)
}