Cargo Features
risc0-zkvm-platform has no features set by default.
[dependencies]
risc0-zkvm-platform = { version = "1.2.1-rc.0", features = ["entrypoint", "export-getrandom", "export-libm", "export-syscalls", "getrandom", "heap-embedded-alloc", "panic-handler", "rust-runtime", "sys-getenv", "sys-args", "unstable"] }
- entrypoint
- export-getrandom getrandom?
-
exports a
getrandom
implementation that panics - export-libm rust-runtime?
-
Enables libm
- export-syscalls rust-runtime?
-
Affects
syscall::sys_alloc_aligned
,syscall::sys_verify_integrity
,syscall::sys_fork
,syscall::sys_pipe
,syscall::sys_exit
… - getrandom = export-getrandom
-
exports a
getrandom
implementation that uses sys_randomAffects
getrandom::zkvm_getrandom
… - heap-embedded-alloc = rust-runtime
-
Enables critical-section and embedded-alloc
Affects
heap::embedded
… - panic-handler
- rust-runtime heap-embedded-alloc? = export-libm, export-syscalls
-
Build a rust runtime
Affects
risc0-zkvm-platform::heap
,risc0-zkvm-platform::rust_rt
… - sys-getenv
-
Enable the sys_getenv syscall.
- sys-args
-
Enable the sys_argc and sys_argv syscalls.
- unstable