Cargo Features
risc0-zkvm-platform has no features set by default.
[dependencies]
risc0-zkvm-platform = { version = "1.1.2", features = ["entrypoint", "export-getrandom", "export-libm", "export-syscalls", "getrandom", "heap-embedded-alloc", "panic-handler", "rust-runtime", "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
,syscall::sys_execute_zkr
… - 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 ^0.5.1
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
… - unstable