use crate::syscalls::{Syscall, SyscallRegistryEntry, caps}; pub(crate) const ENTRIES: &[SyscallRegistryEntry] = &[ SyscallRegistryEntry::builder(Syscall::AssetLoad, "asset", "load") .args(2) .rets(2) .caps(caps::ASSET) .non_deterministic() .cost(20), SyscallRegistryEntry::builder(Syscall::AssetStatus, "asset", "status") .args(1) .rets(1) .caps(caps::ASSET) .non_deterministic(), SyscallRegistryEntry::builder(Syscall::AssetCommit, "asset", "commit") .args(1) .rets(1) .caps(caps::ASSET) .non_deterministic() .cost(20), SyscallRegistryEntry::builder(Syscall::AssetCancel, "asset", "cancel") .args(1) .rets(1) .caps(caps::ASSET) .non_deterministic() .cost(20), ];