pub fn new_syscall_from_state<T: RegisterStorage>(
syscall_decl: SyscallDecl,
thread_state: &ThreadState<T>,
) -> Syscallpub fn new_syscall_from_state<T: RegisterStorage>(
syscall_decl: SyscallDecl,
thread_state: &ThreadState<T>,
) -> Syscall