Skip to content

Commit

Permalink
Fix crashing on unknown platforms
Browse files Browse the repository at this point in the history
platform-info has an issue which causes it to fail hard on unknown platforms. This issue was fixed in newer versions however the latest released version (`2.0.1`) does not have the fix in it.
  • Loading branch information
siepkes committed Jun 19, 2023
1 parent 9a9bda1 commit e02c714
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ cargo-options = "0.6.0"
cbindgen = { version = "0.24.2", default-features = false }
flate2 = "1.0.18"
goblin = "0.7.1"
platform-info = "2.0.1"
# Versions <= 2.0.1 (last release at time of writing) crash on unknown platforms.
platform-info = { git = "https://github.com/uutils/platform-info.git", rev = "42d651d" }
regex = "1.7.0"
serde = { version = "1.0.141", features = ["derive"] }
serde_json = "1.0.80"
Expand Down

0 comments on commit e02c714

Please sign in to comment.