All checks were successful
Intrepid/Prometeu/Runtime/pipeline/head This commit looks good
Reviewed-on: #13 Co-authored-by: bQUARKz <bquarkz@gmail.com> Co-committed-by: bQUARKz <bquarkz@gmail.com>
28 lines
833 B
Rust
28 lines
833 B
Rust
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),
|
|
];
|