Skip to content

Commit

Permalink
Add option to run guest without generating a proof. (risc0#177)
Browse files Browse the repository at this point in the history
riscv guest now runs about 200x faster!*

*: Cryptographic proof of correctness not supported in this mode, but very useful for testing.
  • Loading branch information
shkoo authored Aug 1, 2022
1 parent 53353e4 commit 48c624c
Show file tree
Hide file tree
Showing 13 changed files with 672 additions and 20 deletions.
77 changes: 77 additions & 0 deletions Cargo-host.lock
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,15 @@ dependencies = [
"opaque-debug",
]

[[package]]
name = "aho-corasick"
version = "0.7.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1e37cfd5e7657ada45f742d6e99ca5788580b5c529dc78faf11ece6dc702656f"
dependencies = [
"memchr",
]

[[package]]
name = "anyhow"
version = "1.0.58"
Expand All @@ -46,6 +55,20 @@ dependencies = [
"wait-timeout",
]

[[package]]
name = "assert_fs"
version = "1.0.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cf09bb72e00da477c2596865e8873227e2196d263cca35414048875dbbeea1be"
dependencies = [
"doc-comment",
"globwalk",
"predicates",
"predicates-core",
"predicates-tree",
"tempfile",
]

[[package]]
name = "atty"
version = "0.2.14"
Expand Down Expand Up @@ -668,6 +691,30 @@ version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574"

[[package]]
name = "globset"
version = "0.4.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0a1e17342619edbc21a964c2afbeb6c820c6a2560032872f397bb97ea127bd0a"
dependencies = [
"aho-corasick",
"bstr",
"fnv",
"log",
"regex",
]

[[package]]
name = "globwalk"
version = "0.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "93e3af942408868f6934a7b85134a3230832b9977cf66125df2f9edcfce4ddcc"
dependencies = [
"bitflags",
"ignore",
"walkdir",
]

[[package]]
name = "h2"
version = "0.3.13"
Expand Down Expand Up @@ -818,6 +865,24 @@ dependencies = [
"unicode-normalization",
]

[[package]]
name = "ignore"
version = "0.4.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "713f1b139373f96a2e0ce3ac931cd01ee973c3c5dd7c40c0c2efe96ad2b6751d"
dependencies = [
"crossbeam-utils",
"globset",
"lazy_static",
"log",
"memchr",
"regex",
"same-file",
"thread_local",
"walkdir",
"winapi-util",
]

[[package]]
name = "indexmap"
version = "1.9.1"
Expand Down Expand Up @@ -1348,6 +1413,8 @@ version = "1.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4c4eb3267174b8c6c2f654116623910a0fef09c4753f8dd83db29c48a0df988b"
dependencies = [
"aho-corasick",
"memchr",
"regex-syntax",
]

Expand Down Expand Up @@ -1465,6 +1532,7 @@ version = "0.1.0"
dependencies = [
"anyhow",
"assert_cmd",
"assert_fs",
"bytemuck",
"clap 3.2.15 (registry+https://github.com/rust-lang/crates.io-index)",
"risc0-zkvm",
Expand Down Expand Up @@ -1858,6 +1926,15 @@ version = "0.15.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b1141d4d61095b28419e22cb0bbf02755f5e54e0526f97f1e3d1d160e60885fb"

[[package]]
name = "thread_local"
version = "1.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5516c27b78311c50bf42c071425c560ac799b11c30b31f87e3081965fe5e0180"
dependencies = [
"once_cell",
]

[[package]]
name = "time"
version = "0.3.11"
Expand Down
Loading

0 comments on commit 48c624c

Please sign in to comment.