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>
12 lines
401 B
Rust
12 lines
401 B
Rust
use crate::syscalls::{Syscall, SyscallRegistryEntry, caps};
|
|
|
|
pub(crate) const ENTRIES: &[SyscallRegistryEntry] = &[
|
|
SyscallRegistryEntry::builder(Syscall::SystemHasCart, "system", "has_cart")
|
|
.rets(1)
|
|
.caps(caps::SYSTEM),
|
|
SyscallRegistryEntry::builder(Syscall::SystemRunCart, "system", "run_cart")
|
|
.caps(caps::SYSTEM)
|
|
.non_deterministic()
|
|
.cost(50),
|
|
];
|