-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Standardized golang and rust sha256 programs
- Loading branch information
1 parent
2faba08
commit 130a4e7
Showing
368 changed files
with
48,413 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ | |
/Cargo.lock | ||
/output | ||
/examples/target | ||
**/.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
module sha2-go | ||
|
||
go 1.22.5 | ||
|
||
replace github.com/zkMIPS/zkm/go-runtime/zkm_runtime => ../../../go-runtime/zkm_runtime | ||
|
||
require github.com/zkMIPS/zkm/go-runtime/zkm_runtime v0.0.0-20240817102429-2faba0888c02 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
package main | ||
|
||
import ( | ||
"bytes" | ||
"crypto/sha256" | ||
"log" | ||
|
||
"github.com/zkMIPS/zkm/go-runtime/zkm_runtime" | ||
) | ||
|
||
type DataId uint32 | ||
|
||
// use iota to create enum | ||
const ( | ||
TYPE1 DataId = iota | ||
TYPE2 | ||
TYPE3 | ||
) | ||
|
||
type Data struct { | ||
Input1 [10]byte | ||
Input2 uint8 | ||
Input3 int8 | ||
Input4 uint16 | ||
Input5 int16 | ||
Input6 uint32 | ||
Input7 int32 | ||
Input8 uint64 | ||
Input9 int64 | ||
Input10 []byte | ||
Input11 DataId | ||
Input12 string | ||
} | ||
|
||
func main() { | ||
a := zkm_runtime.Read[Data]() | ||
|
||
data := []byte(a.Input12) | ||
hash := sha256.Sum256(data) | ||
|
||
assertEqual(hash[:], a.Input10) | ||
|
||
zkm_runtime.Commit[Data](a) | ||
} | ||
|
||
func assertEqual(a []byte, b []byte) { | ||
if !bytes.Equal(a, b) { | ||
log.Fatal("%x != %x", a, b) | ||
} | ||
} |
Binary file not shown.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
prover/examples/sha2/Cargo.toml → prover/examples/sha2-rust/Cargo.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[workspace] | ||
[package] | ||
version = "0.1.0" | ||
name = "sha2-bench" | ||
name = "sha2-rust" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
|
2 changes: 1 addition & 1 deletion
2
prover/examples/sha2/rust-toolchain.toml → ...er/examples/sha2-rust/rust-toolchain.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
[toolchain] | ||
channel = "nightly-2023-03-06-x86_64-unknown-linux-gnu" | ||
channel = "nightly-2023-04-06-x86_64-unknown-linux-gnu" | ||
targets = ["mips-unknown-linux-musl"] | ||
profile = "minimal" |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"rustc_fingerprint":11611556838477875770,"outputs":{"4614504638168534921":{"success":true,"status":"","code":0,"stdout":"rustc 1.70.0-nightly (7820b62d2 2023-03-05)\nbinary: rustc\ncommit-hash: 7820b62d20bc548096d4632a3487987308cb4b5d\ncommit-date: 2023-03-05\nhost: x86_64-unknown-linux-gnu\nrelease: 1.70.0-nightly\nLLVM version: 15.0.7\n","stderr":""},"15729799797837862367":{"success":true,"status":"","code":0,"stdout":"___\nlib___.rlib\nlib___.so\nlib___.so\nlib___.a\nlib___.so\n/mnt/data/.rustup/toolchains/nightly-2023-03-06-x86_64-unknown-linux-gnu\noff\npacked\nunpacked\n___\ndebug_assertions\npanic=\"unwind\"\nproc_macro\ntarget_abi=\"\"\ntarget_arch=\"x86_64\"\ntarget_endian=\"little\"\ntarget_env=\"gnu\"\ntarget_family=\"unix\"\ntarget_feature=\"fxsr\"\ntarget_feature=\"sse\"\ntarget_feature=\"sse2\"\ntarget_has_atomic\ntarget_has_atomic=\"16\"\ntarget_has_atomic=\"32\"\ntarget_has_atomic=\"64\"\ntarget_has_atomic=\"8\"\ntarget_has_atomic=\"ptr\"\ntarget_has_atomic_equal_alignment=\"16\"\ntarget_has_atomic_equal_alignment=\"32\"\ntarget_has_atomic_equal_alignment=\"64\"\ntarget_has_atomic_equal_alignment=\"8\"\ntarget_has_atomic_equal_alignment=\"ptr\"\ntarget_has_atomic_load_store\ntarget_has_atomic_load_store=\"16\"\ntarget_has_atomic_load_store=\"32\"\ntarget_has_atomic_load_store=\"64\"\ntarget_has_atomic_load_store=\"8\"\ntarget_has_atomic_load_store=\"ptr\"\ntarget_os=\"linux\"\ntarget_pointer_width=\"64\"\ntarget_thread_local\ntarget_vendor=\"unknown\"\nunix\n","stderr":""},"2572446799115854418":{"success":true,"status":"","code":0,"stdout":"___\nlib___.rlib\nlib___.a\n/mnt/data/.rustup/toolchains/nightly-2023-03-06-x86_64-unknown-linux-gnu\noff\npacked\nunpacked\n___\ndebug_assertions\npanic=\"unwind\"\nproc_macro\ntarget_abi=\"\"\ntarget_arch=\"mips\"\ntarget_endian=\"big\"\ntarget_env=\"musl\"\ntarget_family=\"unix\"\ntarget_feature=\"crt-static\"\ntarget_has_atomic\ntarget_has_atomic=\"16\"\ntarget_has_atomic=\"32\"\ntarget_has_atomic=\"8\"\ntarget_has_atomic=\"ptr\"\ntarget_has_atomic_equal_alignment=\"16\"\ntarget_has_atomic_equal_alignment=\"32\"\ntarget_has_atomic_equal_alignment=\"8\"\ntarget_has_atomic_equal_alignment=\"ptr\"\ntarget_has_atomic_load_store\ntarget_has_atomic_load_store=\"16\"\ntarget_has_atomic_load_store=\"32\"\ntarget_has_atomic_load_store=\"8\"\ntarget_has_atomic_load_store=\"ptr\"\ntarget_os=\"linux\"\ntarget_os=\"zkvm\"\ntarget_pointer_width=\"32\"\ntarget_thread_local\ntarget_vendor=\"unknown\"\nunix\n","stderr":"warning: dropping unsupported crate type `dylib` for target `mips-unknown-linux-musl`\n\nwarning: dropping unsupported crate type `cdylib` for target `mips-unknown-linux-musl`\n\nwarning: dropping unsupported crate type `proc-macro` for target `mips-unknown-linux-musl`\n\nwarning: 3 warnings emitted\n\n"}},"successes":{}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Signature: 8a477f597d28d172789f06886806bc55 | ||
# This file is a cache directory tag created by cargo. | ||
# For information about cache directory tags see https://bford.info/cachedir/ |
3 changes: 3 additions & 0 deletions
3
prover/examples/sha2-rust/target/mips-unknown-linux-musl/CACHEDIR.TAG
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Signature: 8a477f597d28d172789f06886806bc55 | ||
# This file is a cache directory tag created by cargo. | ||
# For information about cache directory tags see https://bford.info/cachedir/ |
Empty file.
Binary file added
BIN
+8 Bytes
...arget/mips-unknown-linux-musl/debug/.fingerprint/bincode-2f6a10360e8241f3/dep-lib-bincode
Binary file not shown.
1 change: 1 addition & 0 deletions
1
...get/mips-unknown-linux-musl/debug/.fingerprint/bincode-2f6a10360e8241f3/invoked.timestamp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
This file has an mtime of when this was started. |
1 change: 1 addition & 0 deletions
1
...st/target/mips-unknown-linux-musl/debug/.fingerprint/bincode-2f6a10360e8241f3/lib-bincode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
f246a09f79019b29 |
1 change: 1 addition & 0 deletions
1
...rget/mips-unknown-linux-musl/debug/.fingerprint/bincode-2f6a10360e8241f3/lib-bincode.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"rustc":7461401932790371676,"features":"[]","target":17082290617822224145,"profile":12637318739757120569,"path":7496555234643542704,"deps":[[2511671586729554969,"serde",false,4233272555171092327]],"local":[{"CheckDepInfo":{"dep_info":"mips-unknown-linux-musl/debug/.fingerprint/bincode-2f6a10360e8241f3/dep-lib-bincode"}}],"rustflags":["--cfg","target_os=\"zkvm\"","-C","target-feature=+crt-static","-C","link-arg=-g","--cfg","target_os=\"zkvm\"","-C","target-feature=+crt-static","-C","link-arg=-g"],"metadata":8466748156696077862,"config":5126209349878297395,"compile_kind":15423028692818717730} |
Binary file added
BIN
+8 Bytes
...-unknown-linux-musl/debug/.fingerprint/block-buffer-a54e44a3ffde2951/dep-lib-block-buffer
Binary file not shown.
1 change: 1 addition & 0 deletions
1
...ips-unknown-linux-musl/debug/.fingerprint/block-buffer-a54e44a3ffde2951/invoked.timestamp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
This file has an mtime of when this was started. |
1 change: 1 addition & 0 deletions
1
...mips-unknown-linux-musl/debug/.fingerprint/block-buffer-a54e44a3ffde2951/lib-block-buffer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
5f32e857b3c72684 |
1 change: 1 addition & 0 deletions
1
...unknown-linux-musl/debug/.fingerprint/block-buffer-a54e44a3ffde2951/lib-block-buffer.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"rustc":7461401932790371676,"features":"[]","target":2661632913477203689,"profile":12637318739757120569,"path":10787936708921877791,"deps":[[9665562089965330559,"generic_array",false,7628611911214365089]],"local":[{"CheckDepInfo":{"dep_info":"mips-unknown-linux-musl/debug/.fingerprint/block-buffer-a54e44a3ffde2951/dep-lib-block-buffer"}}],"rustflags":["--cfg","target_os=\"zkvm\"","-C","target-feature=+crt-static","-C","link-arg=-g","--cfg","target_os=\"zkvm\"","-C","target-feature=+crt-static","-C","link-arg=-g"],"metadata":5573904726092117450,"config":5126209349878297395,"compile_kind":15423028692818717730} |
1 change: 1 addition & 0 deletions
1
...rget/mips-unknown-linux-musl/debug/.fingerprint/cfg-if-2883c9a6b8b300b8/invoked.timestamp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
This file has an mtime of when this was started. |
3 changes: 3 additions & 0 deletions
3
...rget/mips-unknown-linux-musl/debug/.fingerprint/cfg-if-2883c9a6b8b300b8/output-lib-cfg_if
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{"$message_type":"diagnostic","message":"can't find crate for `core`","code":{"code":"E0463","explanation":"A crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\nextern crate foo; // error: can't find crate\n```\n\nYou need to link your code to the relevant crate in order to be able to use it\n(through Cargo or the `-L` option of rustc, for example).\n\n## Common causes\n\n- The crate is not present at all. If using Cargo, add it to `[dependencies]`\n in Cargo.toml.\n- The crate is present, but under a different name. If using Cargo, look for\n `package = ` under `[dependencies]` in Cargo.toml.\n\n## Common causes for missing `std` or `core`\n\n- You are cross-compiling for a target which doesn't have `std` prepackaged.\n Consider one of the following:\n + Adding a pre-compiled version of std with `rustup target add`\n + Building std from source with `cargo build -Z build-std`\n + Using `#![no_std]` at the crate root, so you won't need `std` in the first\n place.\n- You are developing the compiler itself and haven't built libstd from source.\n You can usually build it with `x.py build library/std`. More information\n about x.py is available in the [rustc-dev-guide].\n\n[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#building-the-compiler\n"},"level":"error","spans":[{"file_name":"/mnt/data/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cfg-if-1.0.0/src/lib.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[],"label":"can't find crate","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"the `mips-unknown-linux-musl` target may not be installed","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"consider downloading the target with `rustup target add mips-unknown-linux-musl`","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"consider building the standard library from source with `cargo build -Zbuild-std`","code":null,"level":"help","spans":[],"children":[],"rendered":null}],"rendered":"\u001b[0m\u001b[1m\u001b[38;5;9merror[E0463]\u001b[0m\u001b[0m\u001b[1m: can't find crate for `core`\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m= \u001b[0m\u001b[0m\u001b[1mnote\u001b[0m\u001b[0m: the `mips-unknown-linux-musl` target may not be installed\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m= \u001b[0m\u001b[0m\u001b[1mhelp\u001b[0m\u001b[0m: consider downloading the target with `rustup target add mips-unknown-linux-musl`\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m= \u001b[0m\u001b[0m\u001b[1mhelp\u001b[0m\u001b[0m: consider building the standard library from source with `cargo build -Zbuild-std`\u001b[0m\n\n"} | ||
{"$message_type":"diagnostic","message":"aborting due to 1 previous error","code":null,"level":"error","spans":[],"children":[],"rendered":"\u001b[0m\u001b[1m\u001b[38;5;9merror\u001b[0m\u001b[0m\u001b[1m: aborting due to 1 previous error\u001b[0m\n\n"} | ||
{"$message_type":"diagnostic","message":"For more information about this error, try `rustc --explain E0463`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"\u001b[0m\u001b[1mFor more information about this error, try `rustc --explain E0463`.\u001b[0m\n"} |
Binary file added
BIN
+8 Bytes
.../target/mips-unknown-linux-musl/debug/.fingerprint/cfg-if-ee3a2b21e8cf8a3f/dep-lib-cfg-if
Binary file not shown.
1 change: 1 addition & 0 deletions
1
...rget/mips-unknown-linux-musl/debug/.fingerprint/cfg-if-ee3a2b21e8cf8a3f/invoked.timestamp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
This file has an mtime of when this was started. |
1 change: 1 addition & 0 deletions
1
...rust/target/mips-unknown-linux-musl/debug/.fingerprint/cfg-if-ee3a2b21e8cf8a3f/lib-cfg-if
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
8bdaa2bf25ca2fd7 |
1 change: 1 addition & 0 deletions
1
...target/mips-unknown-linux-musl/debug/.fingerprint/cfg-if-ee3a2b21e8cf8a3f/lib-cfg-if.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"rustc":7461401932790371676,"features":"[]","target":10623512480563079566,"profile":12637318739757120569,"path":18370904255261826354,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"mips-unknown-linux-musl/debug/.fingerprint/cfg-if-ee3a2b21e8cf8a3f/dep-lib-cfg-if"}}],"rustflags":["--cfg","target_os=\"zkvm\"","-C","target-feature=+crt-static","-C","link-arg=-g","--cfg","target_os=\"zkvm\"","-C","target-feature=+crt-static","-C","link-arg=-g"],"metadata":8462187951337715540,"config":5126209349878297395,"compile_kind":15423028692818717730} |
Binary file added
BIN
+8 Bytes
...nknown-linux-musl/debug/.fingerprint/crypto-common-288367cf7550ab8c/dep-lib-crypto-common
Binary file not shown.
1 change: 1 addition & 0 deletions
1
...ps-unknown-linux-musl/debug/.fingerprint/crypto-common-288367cf7550ab8c/invoked.timestamp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
This file has an mtime of when this was started. |
1 change: 1 addition & 0 deletions
1
...ps-unknown-linux-musl/debug/.fingerprint/crypto-common-288367cf7550ab8c/lib-crypto-common
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
3fad53b76f1a2b5f |
1 change: 1 addition & 0 deletions
1
...known-linux-musl/debug/.fingerprint/crypto-common-288367cf7550ab8c/lib-crypto-common.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"rustc":7461401932790371676,"features":"[]","target":2257523260353492199,"profile":12637318739757120569,"path":10131573713317906961,"deps":[[9665562089965330559,"generic_array",false,7628611911214365089],[14410322725430510490,"typenum",false,17704019546922164687]],"local":[{"CheckDepInfo":{"dep_info":"mips-unknown-linux-musl/debug/.fingerprint/crypto-common-288367cf7550ab8c/dep-lib-crypto-common"}}],"rustflags":["--cfg","target_os=\"zkvm\"","-C","target-feature=+crt-static","-C","link-arg=-g","--cfg","target_os=\"zkvm\"","-C","target-feature=+crt-static","-C","link-arg=-g"],"metadata":3401955368041756111,"config":5126209349878297395,"compile_kind":15423028692818717730} |
Binary file added
BIN
+8 Bytes
.../target/mips-unknown-linux-musl/debug/.fingerprint/digest-3d4f47f03864e348/dep-lib-digest
Binary file not shown.
1 change: 1 addition & 0 deletions
1
...rget/mips-unknown-linux-musl/debug/.fingerprint/digest-3d4f47f03864e348/invoked.timestamp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
This file has an mtime of when this was started. |
1 change: 1 addition & 0 deletions
1
...rust/target/mips-unknown-linux-musl/debug/.fingerprint/digest-3d4f47f03864e348/lib-digest
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ce1943087131633d |
1 change: 1 addition & 0 deletions
1
...target/mips-unknown-linux-musl/debug/.fingerprint/digest-3d4f47f03864e348/lib-digest.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"rustc":7461401932790371676,"features":"[\"block-buffer\", \"core-api\", \"default\"]","target":15504360929955102184,"profile":12637318739757120569,"path":9184166584468613771,"deps":[[15349877456970498084,"crypto_common",false,6857603924721118527],[18291355527327864993,"block_buffer",false,9522518035209400927]],"local":[{"CheckDepInfo":{"dep_info":"mips-unknown-linux-musl/debug/.fingerprint/digest-3d4f47f03864e348/dep-lib-digest"}}],"rustflags":["--cfg","target_os=\"zkvm\"","-C","target-feature=+crt-static","-C","link-arg=-g","--cfg","target_os=\"zkvm\"","-C","target-feature=+crt-static","-C","link-arg=-g"],"metadata":2664789385760777065,"config":5126209349878297395,"compile_kind":15423028692818717730} |
1 change: 1 addition & 0 deletions
1
...usl/debug/.fingerprint/generic-array-5c61413ee671e189/run-build-script-build-script-build
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
63d1020ac069392c |
1 change: 1 addition & 0 deletions
1
...ebug/.fingerprint/generic-array-5c61413ee671e189/run-build-script-build-script-build.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"rustc":7461401932790371676,"features":"","target":0,"profile":0,"path":0,"deps":[[9665562089965330559,"build_script_build",false,12165063274564992388]],"local":[{"Precalculated":"0.14.7"}],"rustflags":[],"metadata":0,"config":0,"compile_kind":0} |
Binary file added
BIN
+8 Bytes
...nknown-linux-musl/debug/.fingerprint/generic-array-edb959714b41ba30/dep-lib-generic_array
Binary file not shown.
1 change: 1 addition & 0 deletions
1
...ps-unknown-linux-musl/debug/.fingerprint/generic-array-edb959714b41ba30/invoked.timestamp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
This file has an mtime of when this was started. |
1 change: 1 addition & 0 deletions
1
...ps-unknown-linux-musl/debug/.fingerprint/generic-array-edb959714b41ba30/lib-generic_array
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
a1f93e791d46de69 |
1 change: 1 addition & 0 deletions
1
...known-linux-musl/debug/.fingerprint/generic-array-edb959714b41ba30/lib-generic_array.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"rustc":7461401932790371676,"features":"[\"more_lengths\"]","target":1954542678444077814,"profile":12637318739757120569,"path":12533499071828532817,"deps":[[9665562089965330559,"build_script_build",false,3186694484863930723],[14410322725430510490,"typenum",false,17704019546922164687]],"local":[{"CheckDepInfo":{"dep_info":"mips-unknown-linux-musl/debug/.fingerprint/generic-array-edb959714b41ba30/dep-lib-generic_array"}}],"rustflags":["--cfg","target_os=\"zkvm\"","-C","target-feature=+crt-static","-C","link-arg=-g","--cfg","target_os=\"zkvm\"","-C","target-feature=+crt-static","-C","link-arg=-g"],"metadata":3504643559825856545,"config":5126209349878297395,"compile_kind":15423028692818717730} |
1 change: 1 addition & 0 deletions
1
...usl/debug/.fingerprint/generic-array-f8bb104c9e56901c/run-build-script-build-script-build
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
99bf799210719e86 |
1 change: 1 addition & 0 deletions
1
...ebug/.fingerprint/generic-array-f8bb104c9e56901c/run-build-script-build-script-build.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"rustc":10331357910343849992,"features":"","declared_features":"","target":0,"profile":0,"path":0,"deps":[[9665562089965330559,"build_script_build",false,12332409300744819579]],"local":[{"Precalculated":"0.14.7"}],"rustflags":["--cfg","target_os=\"zkvm\"","-C","target-feature=+crt-static","-C","link-arg=-g","--cfg","target_os=\"zkvm\"","-C","target-feature=+crt-static","-C","link-arg=-g"],"metadata":0,"config":0,"compile_kind":0} |
Binary file added
BIN
+8 Bytes
...t/mips-unknown-linux-musl/debug/.fingerprint/getrandom-2880e210004b60a0/dep-lib-getrandom
Binary file not shown.
1 change: 1 addition & 0 deletions
1
...t/mips-unknown-linux-musl/debug/.fingerprint/getrandom-2880e210004b60a0/invoked.timestamp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
This file has an mtime of when this was started. |
1 change: 1 addition & 0 deletions
1
...arget/mips-unknown-linux-musl/debug/.fingerprint/getrandom-2880e210004b60a0/lib-getrandom
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
408467d30871f39e |
1 change: 1 addition & 0 deletions
1
.../mips-unknown-linux-musl/debug/.fingerprint/getrandom-2880e210004b60a0/lib-getrandom.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"rustc":7461401932790371676,"features":"[\"custom\", \"std\"]","target":16789414514566550411,"profile":12637318739757120569,"path":8425347620827190105,"deps":[[2452538001284770427,"cfg_if",false,15505834305537628811],[16859105048871006744,"libc",false,13441361366530699840]],"local":[{"CheckDepInfo":{"dep_info":"mips-unknown-linux-musl/debug/.fingerprint/getrandom-2880e210004b60a0/dep-lib-getrandom"}}],"rustflags":["--cfg","target_os=\"zkvm\"","-C","target-feature=+crt-static","-C","link-arg=-g","--cfg","target_os=\"zkvm\"","-C","target-feature=+crt-static","-C","link-arg=-g"],"metadata":12606519392706294666,"config":5126209349878297395,"compile_kind":15423028692818717730} |
1 change: 1 addition & 0 deletions
1
...mips-unknown-linux-musl/debug/.fingerprint/lazy_static-05eb6a9735d3544b/invoked.timestamp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
This file has an mtime of when this was started. |
3 changes: 3 additions & 0 deletions
3
...unknown-linux-musl/debug/.fingerprint/lazy_static-05eb6a9735d3544b/output-lib-lazy_static
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{"$message_type":"diagnostic","message":"can't find crate for `core`","code":{"code":"E0463","explanation":"A crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\nextern crate foo; // error: can't find crate\n```\n\nYou need to link your code to the relevant crate in order to be able to use it\n(through Cargo or the `-L` option of rustc, for example).\n\n## Common causes\n\n- The crate is not present at all. If using Cargo, add it to `[dependencies]`\n in Cargo.toml.\n- The crate is present, but under a different name. If using Cargo, look for\n `package = ` under `[dependencies]` in Cargo.toml.\n\n## Common causes for missing `std` or `core`\n\n- You are cross-compiling for a target which doesn't have `std` prepackaged.\n Consider one of the following:\n + Adding a pre-compiled version of std with `rustup target add`\n + Building std from source with `cargo build -Z build-std`\n + Using `#![no_std]` at the crate root, so you won't need `std` in the first\n place.\n- You are developing the compiler itself and haven't built libstd from source.\n You can usually build it with `x.py build library/std`. More information\n about x.py is available in the [rustc-dev-guide].\n\n[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#building-the-compiler\n"},"level":"error","spans":[{"file_name":"/mnt/data/.cargo/registry/src/index.crates.io-6f17d22bba15001f/lazy_static-1.5.0/src/lib.rs","byte_start":0,"byte_end":0,"line_start":1,"line_end":1,"column_start":1,"column_end":1,"is_primary":true,"text":[],"label":"can't find crate","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"the `mips-unknown-linux-musl` target may not be installed","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"consider downloading the target with `rustup target add mips-unknown-linux-musl`","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"consider building the standard library from source with `cargo build -Zbuild-std`","code":null,"level":"help","spans":[],"children":[],"rendered":null}],"rendered":"\u001b[0m\u001b[1m\u001b[38;5;9merror[E0463]\u001b[0m\u001b[0m\u001b[1m: can't find crate for `core`\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m= \u001b[0m\u001b[0m\u001b[1mnote\u001b[0m\u001b[0m: the `mips-unknown-linux-musl` target may not be installed\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m= \u001b[0m\u001b[0m\u001b[1mhelp\u001b[0m\u001b[0m: consider downloading the target with `rustup target add mips-unknown-linux-musl`\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m= \u001b[0m\u001b[0m\u001b[1mhelp\u001b[0m\u001b[0m: consider building the standard library from source with `cargo build -Zbuild-std`\u001b[0m\n\n"} | ||
{"$message_type":"diagnostic","message":"aborting due to 1 previous error","code":null,"level":"error","spans":[],"children":[],"rendered":"\u001b[0m\u001b[1m\u001b[38;5;9merror\u001b[0m\u001b[0m\u001b[1m: aborting due to 1 previous error\u001b[0m\n\n"} | ||
{"$message_type":"diagnostic","message":"For more information about this error, try `rustc --explain E0463`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"\u001b[0m\u001b[1mFor more information about this error, try `rustc --explain E0463`.\u001b[0m\n"} |
Binary file added
BIN
+8 Bytes
...ps-unknown-linux-musl/debug/.fingerprint/lazy_static-9918bd5b6f98ab8a/dep-lib-lazy_static
Binary file not shown.
1 change: 1 addition & 0 deletions
1
...mips-unknown-linux-musl/debug/.fingerprint/lazy_static-9918bd5b6f98ab8a/invoked.timestamp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
This file has an mtime of when this was started. |
1 change: 1 addition & 0 deletions
1
...t/mips-unknown-linux-musl/debug/.fingerprint/lazy_static-9918bd5b6f98ab8a/lib-lazy_static
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
7148c288894da524 |
1 change: 1 addition & 0 deletions
1
...s-unknown-linux-musl/debug/.fingerprint/lazy_static-9918bd5b6f98ab8a/lib-lazy_static.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"rustc":7461401932790371676,"features":"[]","target":1623840821729021818,"profile":12637318739757120569,"path":5722805882896541719,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"mips-unknown-linux-musl/debug/.fingerprint/lazy_static-9918bd5b6f98ab8a/dep-lib-lazy_static"}}],"rustflags":["--cfg","target_os=\"zkvm\"","-C","target-feature=+crt-static","-C","link-arg=-g","--cfg","target_os=\"zkvm\"","-C","target-feature=+crt-static","-C","link-arg=-g"],"metadata":111743654650316589,"config":5126209349878297395,"compile_kind":15423028692818717730} |
1 change: 1 addition & 0 deletions
1
...n-linux-musl/debug/.fingerprint/libc-235976d0d08776eb/run-build-script-build-script-build
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
fa33522637f96ac1 |
1 change: 1 addition & 0 deletions
1
...ux-musl/debug/.fingerprint/libc-235976d0d08776eb/run-build-script-build-script-build.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"rustc":7461401932790371676,"features":"","target":0,"profile":0,"path":0,"deps":[[16859105048871006744,"build_script_build",false,3493722903555372540]],"local":[{"RerunIfChanged":{"output":"mips-unknown-linux-musl/debug/build/libc-235976d0d08776eb/output","paths":["build.rs"]}}],"rustflags":[],"metadata":0,"config":0,"compile_kind":0} |
Binary file added
BIN
+8 Bytes
...rust/target/mips-unknown-linux-musl/debug/.fingerprint/libc-289f7777200b76fa/dep-lib-libc
Binary file not shown.
1 change: 1 addition & 0 deletions
1
...target/mips-unknown-linux-musl/debug/.fingerprint/libc-289f7777200b76fa/invoked.timestamp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
This file has an mtime of when this was started. |
1 change: 1 addition & 0 deletions
1
...ha2-rust/target/mips-unknown-linux-musl/debug/.fingerprint/libc-289f7777200b76fa/lib-libc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
40b2b88df24e89ba |
Oops, something went wrong.