-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wip: add base idea for state and handlers
- Loading branch information
Showing
91 changed files
with
107 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
/target | ||
config.yaml | ||
.DS_Store |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,8 @@ | ||
[package] | ||
name = "mfm_machine" | ||
version = "0.1.0" | ||
edition = "2021" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] |
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,2 @@ | ||
pub mod state; | ||
|
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,37 @@ | ||
#[derive(Debug)] | ||
enum States<T: StateHandler> { | ||
Setup(T), | ||
Report(T), | ||
} | ||
|
||
trait StateHandler { | ||
fn handler(&self); | ||
} | ||
|
||
struct SetupState; | ||
impl StateHandler for SetupState { | ||
fn handler(&self) { | ||
println!("handling setup state") | ||
} | ||
} | ||
|
||
struct ReportState; | ||
impl StateHandler for ReportState { | ||
fn handler(&self) { | ||
println!("handling report state") | ||
} | ||
} | ||
|
||
#[cfg(test)] | ||
mod test { | ||
use super::*; | ||
|
||
#[test] | ||
fn setup_state_initialization() { | ||
let state: States<SetupState> = States::Setup(SetupState); | ||
match state { | ||
States::Setup(t) => t.handler(), | ||
_ => panic!("expected Setup state"), | ||
} | ||
} | ||
} |
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":14166937835428852923,"outputs":{"4614504638168534921":{"success":true,"status":"","code":0,"stdout":"rustc 1.72.1 (d5c2e9c34 2023-09-13)\nbinary: rustc\ncommit-hash: d5c2e9c342b358556da91d61ed4133f6f50fc0c3\ncommit-date: 2023-09-13\nhost: aarch64-apple-darwin\nrelease: 1.72.1\nLLVM version: 16.0.5\n","stderr":""},"15729799797837862367":{"success":true,"status":"","code":0,"stdout":"___\nlib___.rlib\nlib___.dylib\nlib___.dylib\nlib___.a\nlib___.dylib\n/Users/willyrgf/.rustup/toolchains/stable-aarch64-apple-darwin\noff\npacked\nunpacked\n___\ndebug_assertions\npanic=\"unwind\"\nproc_macro\ntarget_arch=\"aarch64\"\ntarget_endian=\"little\"\ntarget_env=\"\"\ntarget_family=\"unix\"\ntarget_feature=\"aes\"\ntarget_feature=\"crc\"\ntarget_feature=\"dit\"\ntarget_feature=\"dotprod\"\ntarget_feature=\"dpb\"\ntarget_feature=\"dpb2\"\ntarget_feature=\"fcma\"\ntarget_feature=\"fhm\"\ntarget_feature=\"flagm\"\ntarget_feature=\"fp16\"\ntarget_feature=\"frintts\"\ntarget_feature=\"jsconv\"\ntarget_feature=\"lor\"\ntarget_feature=\"lse\"\ntarget_feature=\"neon\"\ntarget_feature=\"paca\"\ntarget_feature=\"pacg\"\ntarget_feature=\"pan\"\ntarget_feature=\"pmuv3\"\ntarget_feature=\"ras\"\ntarget_feature=\"rcpc\"\ntarget_feature=\"rcpc2\"\ntarget_feature=\"rdm\"\ntarget_feature=\"sb\"\ntarget_feature=\"sha2\"\ntarget_feature=\"sha3\"\ntarget_feature=\"ssbs\"\ntarget_feature=\"vh\"\ntarget_has_atomic=\"128\"\ntarget_has_atomic=\"16\"\ntarget_has_atomic=\"32\"\ntarget_has_atomic=\"64\"\ntarget_has_atomic=\"8\"\ntarget_has_atomic=\"ptr\"\ntarget_os=\"macos\"\ntarget_pointer_width=\"64\"\ntarget_vendor=\"apple\"\nunix\n","stderr":""}},"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/ |
Empty file.
Binary file added
BIN
+44 Bytes
mfm_machine/target/debug/.fingerprint/mfm_machine-21a899e563412c2f/dep-test-lib-mfm_machine
Binary file not shown.
1 change: 1 addition & 0 deletions
1
mfm_machine/target/debug/.fingerprint/mfm_machine-21a899e563412c2f/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. |
2 changes: 2 additions & 0 deletions
2
...achine/target/debug/.fingerprint/mfm_machine-21a899e563412c2f/output-test-lib-mfm_machine
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,2 @@ | ||
{"message":"variant `Report` is never constructed","code":{"code":"dead_code","explanation":null},"level":"warning","spans":[{"file_name":"src/state/mod.rs","byte_start":22,"byte_end":28,"line_start":2,"line_end":2,"column_start":6,"column_end":12,"is_primary":false,"text":[{"text":"enum States<T: StateHandler> {","highlight_start":6,"highlight_end":12}],"label":"variant in this enum","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"src/state/mod.rs","byte_start":66,"byte_end":72,"line_start":4,"line_end":4,"column_start":5,"column_end":11,"is_primary":true,"text":[{"text":" Report(T),","highlight_start":5,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`States` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"`#[warn(dead_code)]` on by default","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"\u001b[0m\u001b[1m\u001b[33mwarning\u001b[0m\u001b[0m\u001b[1m: variant `Report` is never constructed\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m--> \u001b[0m\u001b[0msrc/state/mod.rs:4:5\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m2\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0menum States<T: StateHandler> {\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m------\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12mvariant in this enum\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m3\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0m Setup(T),\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m4\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0m Report(T),\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[33m^^^^^^\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: `States` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis\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: `#[warn(dead_code)]` on by default\u001b[0m\n\n"} | ||
{"message":"1 warning emitted","code":null,"level":"warning","spans":[],"children":[],"rendered":"\u001b[0m\u001b[1m\u001b[33mwarning\u001b[0m\u001b[0m\u001b[1m: 1 warning emitted\u001b[0m\n\n"} |
1 change: 1 addition & 0 deletions
1
mfm_machine/target/debug/.fingerprint/mfm_machine-21a899e563412c2f/test-lib-mfm_machine
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 @@ | ||
88ee65c47d92f6e3 |
1 change: 1 addition & 0 deletions
1
mfm_machine/target/debug/.fingerprint/mfm_machine-21a899e563412c2f/test-lib-mfm_machine.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":15699327122048238920,"features":"[]","target":15788421850837841354,"profile":13053956386274884697,"path":17523903030608720598,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/mfm_machine-21a899e563412c2f/dep-test-lib-mfm_machine"}}],"rustflags":[],"metadata":7797948686568424061,"config":2202906307356721367,"compile_kind":0} |
Binary file added
BIN
+44 Bytes
mfm_machine/target/debug/.fingerprint/mfm_machine-27eeeac681e582e0/dep-lib-mfm_machine
Binary file not shown.
1 change: 1 addition & 0 deletions
1
mfm_machine/target/debug/.fingerprint/mfm_machine-27eeeac681e582e0/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
mfm_machine/target/debug/.fingerprint/mfm_machine-27eeeac681e582e0/lib-mfm_machine
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 @@ | ||
5634221393a12da4 |
1 change: 1 addition & 0 deletions
1
mfm_machine/target/debug/.fingerprint/mfm_machine-27eeeac681e582e0/lib-mfm_machine.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":15699327122048238920,"features":"[]","target":15788421850837841354,"profile":237655285757591511,"path":17523903030608720598,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/mfm_machine-27eeeac681e582e0/dep-lib-mfm_machine"}}],"rustflags":[],"metadata":7797948686568424061,"config":2202906307356721367,"compile_kind":0} |
2 changes: 2 additions & 0 deletions
2
mfm_machine/target/debug/.fingerprint/mfm_machine-27eeeac681e582e0/output-lib-mfm_machine
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,2 @@ | ||
{"message":"variants `Setup` and `Report` are never constructed","code":{"code":"dead_code","explanation":null},"level":"warning","spans":[{"file_name":"src/state/mod.rs","byte_start":22,"byte_end":28,"line_start":2,"line_end":2,"column_start":6,"column_end":12,"is_primary":false,"text":[{"text":"enum States<T: StateHandler> {","highlight_start":6,"highlight_end":12}],"label":"variants in this enum","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"src/state/mod.rs","byte_start":52,"byte_end":57,"line_start":3,"line_end":3,"column_start":5,"column_end":10,"is_primary":true,"text":[{"text":" Setup(T),","highlight_start":5,"highlight_end":10}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"src/state/mod.rs","byte_start":66,"byte_end":72,"line_start":4,"line_end":4,"column_start":5,"column_end":11,"is_primary":true,"text":[{"text":" Report(T),","highlight_start":5,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`States` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"`#[warn(dead_code)]` on by default","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"\u001b[0m\u001b[1m\u001b[33mwarning\u001b[0m\u001b[0m\u001b[1m: variants `Setup` and `Report` are never constructed\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m--> \u001b[0m\u001b[0msrc/state/mod.rs:3:5\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m2\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0menum States<T: StateHandler> {\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m------\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12mvariants in this enum\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m3\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0m Setup(T),\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[33m^^^^^\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m4\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0m Report(T),\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[33m^^^^^^\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: `States` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis\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: `#[warn(dead_code)]` on by default\u001b[0m\n\n"} | ||
{"message":"1 warning emitted","code":null,"level":"warning","spans":[],"children":[],"rendered":"\u001b[0m\u001b[1m\u001b[33mwarning\u001b[0m\u001b[0m\u001b[1m: 1 warning emitted\u001b[0m\n\n"} |
Binary file added
BIN
+44 Bytes
mfm_machine/target/debug/.fingerprint/mfm_machine-3cf7aa80610d1a48/dep-lib-mfm_machine
Binary file not shown.
1 change: 1 addition & 0 deletions
1
mfm_machine/target/debug/.fingerprint/mfm_machine-3cf7aa80610d1a48/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
mfm_machine/target/debug/.fingerprint/mfm_machine-3cf7aa80610d1a48/lib-mfm_machine
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 @@ | ||
732023dbdbf5205a |
1 change: 1 addition & 0 deletions
1
mfm_machine/target/debug/.fingerprint/mfm_machine-3cf7aa80610d1a48/lib-mfm_machine.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":15699327122048238920,"features":"[]","target":15788421850837841354,"profile":13396965805329499462,"path":17523903030608720598,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/mfm_machine-3cf7aa80610d1a48/dep-lib-mfm_machine"}}],"rustflags":[],"metadata":7797948686568424061,"config":2202906307356721367,"compile_kind":0} |
2 changes: 2 additions & 0 deletions
2
mfm_machine/target/debug/.fingerprint/mfm_machine-3cf7aa80610d1a48/output-lib-mfm_machine
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,2 @@ | ||
{"message":"variants `Setup` and `Report` are never constructed","code":{"code":"dead_code","explanation":null},"level":"warning","spans":[{"file_name":"src/state/mod.rs","byte_start":22,"byte_end":28,"line_start":2,"line_end":2,"column_start":6,"column_end":12,"is_primary":false,"text":[{"text":"enum States<T: StateHandler> {","highlight_start":6,"highlight_end":12}],"label":"variants in this enum","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"src/state/mod.rs","byte_start":52,"byte_end":57,"line_start":3,"line_end":3,"column_start":5,"column_end":10,"is_primary":true,"text":[{"text":" Setup(T),","highlight_start":5,"highlight_end":10}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"src/state/mod.rs","byte_start":66,"byte_end":72,"line_start":4,"line_end":4,"column_start":5,"column_end":11,"is_primary":true,"text":[{"text":" Report(T),","highlight_start":5,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`States` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"`#[warn(dead_code)]` on by default","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"\u001b[0m\u001b[1m\u001b[33mwarning\u001b[0m\u001b[0m\u001b[1m: variants `Setup` and `Report` are never constructed\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m--> \u001b[0m\u001b[0msrc/state/mod.rs:3:5\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m2\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0menum States<T: StateHandler> {\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m------\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12mvariants in this enum\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m3\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0m Setup(T),\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[33m^^^^^\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m4\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0m Report(T),\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[33m^^^^^^\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: `States` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis\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: `#[warn(dead_code)]` on by default\u001b[0m\n\n"} | ||
{"message":"1 warning emitted","code":null,"level":"warning","spans":[],"children":[],"rendered":"\u001b[0m\u001b[1m\u001b[33mwarning\u001b[0m\u001b[0m\u001b[1m: 1 warning emitted\u001b[0m\n\n"} |
Binary file added
BIN
+44 Bytes
mfm_machine/target/debug/.fingerprint/mfm_machine-e385ec293b8d54f2/dep-test-lib-mfm_machine
Binary file not shown.
1 change: 1 addition & 0 deletions
1
mfm_machine/target/debug/.fingerprint/mfm_machine-e385ec293b8d54f2/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. |
2 changes: 2 additions & 0 deletions
2
...achine/target/debug/.fingerprint/mfm_machine-e385ec293b8d54f2/output-test-lib-mfm_machine
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,2 @@ | ||
{"message":"variant `Report` is never constructed","code":{"code":"dead_code","explanation":null},"level":"warning","spans":[{"file_name":"src/state/mod.rs","byte_start":22,"byte_end":28,"line_start":2,"line_end":2,"column_start":6,"column_end":12,"is_primary":false,"text":[{"text":"enum States<T: StateHandler> {","highlight_start":6,"highlight_end":12}],"label":"variant in this enum","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"src/state/mod.rs","byte_start":66,"byte_end":72,"line_start":4,"line_end":4,"column_start":5,"column_end":11,"is_primary":true,"text":[{"text":" Report(T),","highlight_start":5,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`States` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"`#[warn(dead_code)]` on by default","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"\u001b[0m\u001b[1m\u001b[33mwarning\u001b[0m\u001b[0m\u001b[1m: variant `Report` is never constructed\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m--> \u001b[0m\u001b[0msrc/state/mod.rs:4:5\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m2\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0menum States<T: StateHandler> {\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m------\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12mvariant in this enum\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m3\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0m Setup(T),\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m4\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0m Report(T),\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[33m^^^^^^\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: `States` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis\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: `#[warn(dead_code)]` on by default\u001b[0m\n\n"} | ||
{"message":"1 warning emitted","code":null,"level":"warning","spans":[],"children":[],"rendered":"\u001b[0m\u001b[1m\u001b[33mwarning\u001b[0m\u001b[0m\u001b[1m: 1 warning emitted\u001b[0m\n\n"} |
1 change: 1 addition & 0 deletions
1
mfm_machine/target/debug/.fingerprint/mfm_machine-e385ec293b8d54f2/test-lib-mfm_machine
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 @@ | ||
1573876214ebe2fc |
1 change: 1 addition & 0 deletions
1
mfm_machine/target/debug/.fingerprint/mfm_machine-e385ec293b8d54f2/test-lib-mfm_machine.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":15699327122048238920,"features":"[]","target":15788421850837841354,"profile":6823863257117401121,"path":17523903030608720598,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/mfm_machine-e385ec293b8d54f2/dep-test-lib-mfm_machine"}}],"rustflags":[],"metadata":7797948686568424061,"config":2202906307356721367,"compile_kind":0} |
Empty file.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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,6 @@ | ||
/Users/willyrgf/dev/rust/src/github.com/willyrgf/mfm/mfm_machine/target/debug/deps/mfm_machine-21a899e563412c2f.rmeta: src/lib.rs src/state/mod.rs | ||
|
||
/Users/willyrgf/dev/rust/src/github.com/willyrgf/mfm/mfm_machine/target/debug/deps/mfm_machine-21a899e563412c2f.d: src/lib.rs src/state/mod.rs | ||
|
||
src/lib.rs: | ||
src/state/mod.rs: |
Binary file added
BIN
+6.2 KB
mfm_machine/target/debug/deps/mfm_machine-27eeeac681e582e0.1ufjdd1xjp5tvi78.rcgu.o
Binary file not shown.
Binary file added
BIN
+3.92 KB
mfm_machine/target/debug/deps/mfm_machine-27eeeac681e582e0.1zr0ghwavfodyqok.rcgu.o
Binary file not shown.
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,8 @@ | ||
/Users/willyrgf/dev/rust/src/github.com/willyrgf/mfm/mfm_machine/target/debug/deps/mfm_machine-27eeeac681e582e0.rmeta: src/lib.rs src/state/mod.rs | ||
|
||
/Users/willyrgf/dev/rust/src/github.com/willyrgf/mfm/mfm_machine/target/debug/deps/libmfm_machine-27eeeac681e582e0.rlib: src/lib.rs src/state/mod.rs | ||
|
||
/Users/willyrgf/dev/rust/src/github.com/willyrgf/mfm/mfm_machine/target/debug/deps/mfm_machine-27eeeac681e582e0.d: src/lib.rs src/state/mod.rs | ||
|
||
src/lib.rs: | ||
src/state/mod.rs: |
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,6 @@ | ||
/Users/willyrgf/dev/rust/src/github.com/willyrgf/mfm/mfm_machine/target/debug/deps/mfm_machine-3cf7aa80610d1a48.rmeta: src/lib.rs src/state/mod.rs | ||
|
||
/Users/willyrgf/dev/rust/src/github.com/willyrgf/mfm/mfm_machine/target/debug/deps/mfm_machine-3cf7aa80610d1a48.d: src/lib.rs src/state/mod.rs | ||
|
||
src/lib.rs: | ||
src/state/mod.rs: |
Binary file not shown.
Binary file added
BIN
+5.77 KB
mfm_machine/target/debug/deps/mfm_machine-e385ec293b8d54f2.16wh54uuwbpcr819.rcgu.o
Binary file not shown.
Binary file added
BIN
+12.2 KB
mfm_machine/target/debug/deps/mfm_machine-e385ec293b8d54f2.19nd6lfgfy66dzv5.rcgu.o
Binary file not shown.
Binary file added
BIN
+6.02 KB
mfm_machine/target/debug/deps/mfm_machine-e385ec293b8d54f2.1lwbgdccjql9taqc.rcgu.o
Binary file not shown.
Binary file added
BIN
+4.39 KB
mfm_machine/target/debug/deps/mfm_machine-e385ec293b8d54f2.1o61mb8zibzhmnyj.rcgu.o
Binary file not shown.
Binary file added
BIN
+10.1 KB
mfm_machine/target/debug/deps/mfm_machine-e385ec293b8d54f2.2dmbgbfw1vo5qoai.rcgu.o
Binary file not shown.
Binary file added
BIN
+3.93 KB
mfm_machine/target/debug/deps/mfm_machine-e385ec293b8d54f2.38u40sq0ho5wke9d.rcgu.o
Binary file not shown.
Binary file added
BIN
+6.73 KB
mfm_machine/target/debug/deps/mfm_machine-e385ec293b8d54f2.3mznupo1mx2r31lr.rcgu.o
Binary file not shown.
Binary file added
BIN
+17.5 KB
mfm_machine/target/debug/deps/mfm_machine-e385ec293b8d54f2.3nnjeukn7up65y0g.rcgu.o
Binary file not shown.
Binary file added
BIN
+3.34 KB
mfm_machine/target/debug/deps/mfm_machine-e385ec293b8d54f2.3qg0351jk6ukoz8a.rcgu.o
Binary file not shown.
Binary file added
BIN
+3.2 KB
mfm_machine/target/debug/deps/mfm_machine-e385ec293b8d54f2.4md7mevgjrbyfdpr.rcgu.o
Binary file not shown.
Binary file added
BIN
+3.1 KB
mfm_machine/target/debug/deps/mfm_machine-e385ec293b8d54f2.4nik3yqf5zegekpm.rcgu.o
Binary file not shown.
Binary file added
BIN
+2.8 KB
mfm_machine/target/debug/deps/mfm_machine-e385ec293b8d54f2.4qldwh00ipmvgy80.rcgu.o
Binary file not shown.
Binary file added
BIN
+6.6 KB
mfm_machine/target/debug/deps/mfm_machine-e385ec293b8d54f2.4wjfblnsrrq3dxs4.rcgu.o
Binary file not shown.
Binary file added
BIN
+8.19 KB
mfm_machine/target/debug/deps/mfm_machine-e385ec293b8d54f2.4y1ifwvq9herjpsc.rcgu.o
Binary file not shown.
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,6 @@ | ||
/Users/willyrgf/dev/rust/src/github.com/willyrgf/mfm/mfm_machine/target/debug/deps/mfm_machine-e385ec293b8d54f2: src/lib.rs src/state/mod.rs | ||
|
||
/Users/willyrgf/dev/rust/src/github.com/willyrgf/mfm/mfm_machine/target/debug/deps/mfm_machine-e385ec293b8d54f2.d: src/lib.rs src/state/mod.rs | ||
|
||
src/lib.rs: | ||
src/state/mod.rs: |
Binary file added
BIN
+8.22 KB
mfm_machine/target/debug/deps/mfm_machine-e385ec293b8d54f2.i588pzzy52qlb7t.rcgu.o
Binary file not shown.
Binary file added
BIN
+8.09 KB
mfm_machine/target/debug/deps/mfm_machine-e385ec293b8d54f2.j7b9hlu8n8d1vb0.rcgu.o
Binary file not shown.
Binary file added
BIN
+7.86 KB
mfm_machine/target/debug/deps/mfm_machine-e385ec293b8d54f2.wvn1z0imqmjnx6s.rcgu.o
Binary file not shown.
Binary file added
BIN
+5.77 KB
...fm_machine-2l9yshskam2hg/s-gpjio85aa7-ak2uo6-brqh6vmyuwq64tj9076c6g2kx/16wh54uuwbpcr819.o
Binary file not shown.
Binary file added
BIN
+12.2 KB
...fm_machine-2l9yshskam2hg/s-gpjio85aa7-ak2uo6-brqh6vmyuwq64tj9076c6g2kx/19nd6lfgfy66dzv5.o
Binary file not shown.
Binary file added
BIN
+6.02 KB
...fm_machine-2l9yshskam2hg/s-gpjio85aa7-ak2uo6-brqh6vmyuwq64tj9076c6g2kx/1lwbgdccjql9taqc.o
Binary file not shown.
Binary file added
BIN
+4.39 KB
...fm_machine-2l9yshskam2hg/s-gpjio85aa7-ak2uo6-brqh6vmyuwq64tj9076c6g2kx/1o61mb8zibzhmnyj.o
Binary file not shown.
Binary file added
BIN
+10.1 KB
...fm_machine-2l9yshskam2hg/s-gpjio85aa7-ak2uo6-brqh6vmyuwq64tj9076c6g2kx/2dmbgbfw1vo5qoai.o
Binary file not shown.
Binary file added
BIN
+3.93 KB
...fm_machine-2l9yshskam2hg/s-gpjio85aa7-ak2uo6-brqh6vmyuwq64tj9076c6g2kx/38u40sq0ho5wke9d.o
Binary file not shown.
Binary file added
BIN
+6.73 KB
...fm_machine-2l9yshskam2hg/s-gpjio85aa7-ak2uo6-brqh6vmyuwq64tj9076c6g2kx/3mznupo1mx2r31lr.o
Binary file not shown.
Binary file added
BIN
+17.5 KB
...fm_machine-2l9yshskam2hg/s-gpjio85aa7-ak2uo6-brqh6vmyuwq64tj9076c6g2kx/3nnjeukn7up65y0g.o
Binary file not shown.
Binary file added
BIN
+3.34 KB
...fm_machine-2l9yshskam2hg/s-gpjio85aa7-ak2uo6-brqh6vmyuwq64tj9076c6g2kx/3qg0351jk6ukoz8a.o
Binary file not shown.
Binary file added
BIN
+3.2 KB
...fm_machine-2l9yshskam2hg/s-gpjio85aa7-ak2uo6-brqh6vmyuwq64tj9076c6g2kx/4md7mevgjrbyfdpr.o
Binary file not shown.
Binary file added
BIN
+3.1 KB
...fm_machine-2l9yshskam2hg/s-gpjio85aa7-ak2uo6-brqh6vmyuwq64tj9076c6g2kx/4nik3yqf5zegekpm.o
Binary file not shown.
Binary file added
BIN
+2.8 KB
...fm_machine-2l9yshskam2hg/s-gpjio85aa7-ak2uo6-brqh6vmyuwq64tj9076c6g2kx/4qldwh00ipmvgy80.o
Binary file not shown.
Binary file added
BIN
+6.6 KB
...fm_machine-2l9yshskam2hg/s-gpjio85aa7-ak2uo6-brqh6vmyuwq64tj9076c6g2kx/4wjfblnsrrq3dxs4.o
Binary file not shown.
Binary file added
BIN
+8.19 KB
...fm_machine-2l9yshskam2hg/s-gpjio85aa7-ak2uo6-brqh6vmyuwq64tj9076c6g2kx/4y1ifwvq9herjpsc.o
Binary file not shown.
Binary file added
BIN
+420 KB
...tal/mfm_machine-2l9yshskam2hg/s-gpjio85aa7-ak2uo6-brqh6vmyuwq64tj9076c6g2kx/dep-graph.bin
Binary file not shown.
Binary file added
BIN
+8.22 KB
...mfm_machine-2l9yshskam2hg/s-gpjio85aa7-ak2uo6-brqh6vmyuwq64tj9076c6g2kx/i588pzzy52qlb7t.o
Binary file not shown.
Binary file added
BIN
+8.09 KB
...mfm_machine-2l9yshskam2hg/s-gpjio85aa7-ak2uo6-brqh6vmyuwq64tj9076c6g2kx/j7b9hlu8n8d1vb0.o
Binary file not shown.
Binary file added
BIN
+133 KB
...l/mfm_machine-2l9yshskam2hg/s-gpjio85aa7-ak2uo6-brqh6vmyuwq64tj9076c6g2kx/query-cache.bin
Binary file not shown.
Binary file added
BIN
+1017 Bytes
...mfm_machine-2l9yshskam2hg/s-gpjio85aa7-ak2uo6-brqh6vmyuwq64tj9076c6g2kx/work-products.bin
Binary file not shown.
Binary file added
BIN
+7.86 KB
...mfm_machine-2l9yshskam2hg/s-gpjio85aa7-ak2uo6-brqh6vmyuwq64tj9076c6g2kx/wvn1z0imqmjnx6s.o
Binary file not shown.
Empty file.
Binary file added
BIN
+233 KB
...tal/mfm_machine-2t36hdvr7ptj4/s-gpjin58vdf-6fhw2y-8je2dux7kyhejjny80kod96ct/dep-graph.bin
Binary file not shown.
Binary file added
BIN
+114 KB
...l/mfm_machine-2t36hdvr7ptj4/s-gpjin58vdf-6fhw2y-8je2dux7kyhejjny80kod96ct/query-cache.bin
Binary file not shown.
Binary file added
BIN
+37 Bytes
...mfm_machine-2t36hdvr7ptj4/s-gpjin58vdf-6fhw2y-8je2dux7kyhejjny80kod96ct/work-products.bin
Binary file not shown.
Empty file.
Binary file added
BIN
+6.2 KB
...fm_machine-3t2sohcah5kg/s-gpjio85aa7-1s56nl5-2k4uzqv4fk5h5v7fx8d8gbbrz/1ufjdd1xjp5tvi78.o
Binary file not shown.
Binary file added
BIN
+3.92 KB
...fm_machine-3t2sohcah5kg/s-gpjio85aa7-1s56nl5-2k4uzqv4fk5h5v7fx8d8gbbrz/1zr0ghwavfodyqok.o
Binary file not shown.
Binary file added
BIN
+187 KB
...tal/mfm_machine-3t2sohcah5kg/s-gpjio85aa7-1s56nl5-2k4uzqv4fk5h5v7fx8d8gbbrz/dep-graph.bin
Binary file not shown.
Binary file added
BIN
+110 KB
...l/mfm_machine-3t2sohcah5kg/s-gpjio85aa7-1s56nl5-2k4uzqv4fk5h5v7fx8d8gbbrz/query-cache.bin
Binary file not shown.
Binary file added
BIN
+153 Bytes
...mfm_machine-3t2sohcah5kg/s-gpjio85aa7-1s56nl5-2k4uzqv4fk5h5v7fx8d8gbbrz/work-products.bin
Binary file not shown.
Empty file.
Binary file added
BIN
+175 KB
...ntal/mfm_machine-rni96aq3kg7z/s-gpjin58vdf-1s9af96-qozduq4sl42pt2ws4yf1pc56/dep-graph.bin
Binary file not shown.
Binary file added
BIN
+106 KB
...al/mfm_machine-rni96aq3kg7z/s-gpjin58vdf-1s9af96-qozduq4sl42pt2ws4yf1pc56/query-cache.bin
Binary file not shown.
Binary file added
BIN
+37 Bytes
.../mfm_machine-rni96aq3kg7z/s-gpjin58vdf-1s9af96-qozduq4sl42pt2ws4yf1pc56/work-products.bin
Binary file not shown.
Empty file.