diff options
| author | Kamen Mladenov <kamen@syndamia.com> | 2025-02-07 09:34:43 +0200 |
|---|---|---|
| committer | Kamen Mladenov <kamen@syndamia.com> | 2025-02-07 09:34:43 +0200 |
| commit | 6b9a3fa1f373f975c3d72960036c4996c7ba0389 (patch) | |
| tree | 43eab85d6b4127929d5817dc2021eee17bfa977f /zkvms/nexus/guest/src | |
| parent | 9c96ce04a8725f159e473a4990fe16c83ad2fad6 (diff) | |
| download | zkVMs-benchmarks-6b9a3fa1f373f975c3d72960036c4996c7ba0389.tar zkVMs-benchmarks-6b9a3fa1f373f975c3d72960036c4996c7ba0389.tar.gz zkVMs-benchmarks-6b9a3fa1f373f975c3d72960036c4996c7ba0389.zip | |
feat(zkvms): Use std (or alloc) collections in all guests
Diffstat (limited to 'zkvms/nexus/guest/src')
| -rw-r--r-- | zkvms/nexus/guest/src/main.rs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/zkvms/nexus/guest/src/main.rs b/zkvms/nexus/guest/src/main.rs index eb82cde..bb2e0c8 100644 --- a/zkvms/nexus/guest/src/main.rs +++ b/zkvms/nexus/guest/src/main.rs @@ -3,14 +3,9 @@ use nexus_rt::{ postcard, println, read_private_input, write_output }; extern crate alloc; -use alloc::vec::Vec; +use alloc::{ vec::*, collections::* }; use wrapper_macro::make_wrapper; -type Input = (Vec<Vec<bool>>, u32, Vec<Vec<u32>>); -type Output = bool; - -const VERTICES: usize = 100; - #[nexus_rt::main] fn main() { zkp::entrypoint_expr!() |
