Skip to content

Commit

Permalink
Merge pull request #34 from GamesCrafters/dev-keylen
Browse files Browse the repository at this point in the history
Compile-time variable sized states
  • Loading branch information
maxfierrog committed May 15, 2024
2 parents 005505a + 3e8478f commit 19215e8
Show file tree
Hide file tree
Showing 34 changed files with 2,124 additions and 2,099 deletions.
241 changes: 3 additions & 238 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ lto = "fat"
clap = { version = "^4", features = ["derive"] }
serde_json = "^1"
exitcode = "^1"
nalgebra = "^0"
colored = "^2"
anyhow = "^1"
bitvec = "^1"
regex = "^1"
Expand Down
6 changes: 1 addition & 5 deletions src/database/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,7 @@ impl fmt::Display for DatabaseError {
Datatype::SPFP => "of exactly 32 bits",
Datatype::SINT => "greater than 1 bit",
Datatype::CSTR => "divisible by 8 bits",
Datatype::UINT | Datatype::ENUM => {
unreachable!(
"UINTs and ENUMs can be of any nonzero size."
)
},
Datatype::UINT | Datatype::ENUM => "greater than 0 bits",
};
let data = data.to_string();
if let Some(t) = table {
Expand Down
Loading

0 comments on commit 19215e8

Please sign in to comment.