aboutsummaryrefslogtreecommitdiff
path: root/rust-format-all.nix
diff options
context:
space:
mode:
authorKamen Mladenov <kamen@syndamia.com>2025-03-24 12:51:22 +0200
committerKamen Mladenov <kamen@syndamia.com>2025-04-04 11:03:00 +0300
commit023070de2dde4df9b809cf04ff09ab1a3af3e01c (patch)
tree1f6acfa48619897f1a869c1e3fd13eb369a02ae8 /rust-format-all.nix
parentc7a0a23f5c6dfacc933526d02e8da59384898758 (diff)
downloadzkVMs-benchmarks-023070de2dde4df9b809cf04ff09ab1a3af3e01c.tar
zkVMs-benchmarks-023070de2dde4df9b809cf04ff09ab1a3af3e01c.tar.gz
zkVMs-benchmarks-023070de2dde4df9b809cf04ff09ab1a3af3e01c.zip
feat(zkvms_host_io): Add the "Return" type, which only contains the function return type
Currently we create an "Output" type, which contains a tuple with all public inputs and the function return type. In most zkVMs, public and private inputs are not distinguished from the start, public inputs are returned by the guest program and private are not. Thus, most of the time we need a more complicated return type. However, sometimes this is not the case, and the public/private distinction is done upfront (and we don't need to output inputs). So we need to add the appropriate type.
Diffstat (limited to 'rust-format-all.nix')
0 files changed, 0 insertions, 0 deletions