Skip to content

Commit

Permalink
Update and pin anyhow to 1.0.72
Browse files Browse the repository at this point in the history
Summary:
anyhow-1.0.73 [uses][1] the new `Error::provide` API. This API is
available starting in Rust 1.73. This means that if you want backtraces,
you need one:

- anyhow-1.0.72 & Rust 1.72
- anyhow-1.0.73 & Rust 1.73

Since we're still on 1.72, pin the version to avoid accidentally losing
backtraces.

There are no real changes between anyhow-1.0.71 and anyhow-1.0.72. But
update to anyhow-1.0.72 so that we're right up until the point where we
get backtrace support.

[1]: dtolnay/anyhow#319

Reviewed By: shayne-fletcher

Differential Revision: D49970958

fbshipit-source-id: 1193611e6d16bc840e63b689e932ea3d33562152
  • Loading branch information
zertosh authored and facebook-github-bot committed Oct 5, 2023
1 parent 8dbd96b commit e069231
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion detcore-model/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ version = "0.0.0"
edition = "2021"

[dependencies]
anyhow = "1.0.71"
anyhow = "=1.0.72"
bitvec = { version = "0.17", features = ["serde"] }
bytesize = "1.1"
chrono = { version = "0.4", features = ["clock", "serde", "std"], default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion detcore/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ name = "tests_time"
path = "tests/time/mod.rs"

[dependencies]
anyhow = "1.0.71"
anyhow = "=1.0.72"
async-trait = "0.1.71"
bitflags = "1.3"
chrono = { version = "0.4", features = ["clock", "serde", "std"], default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion hermit-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ version = "0.0.0"
edition = "2021"

[dependencies]
anyhow = "1.0.71"
anyhow = "=1.0.72"
bincode = "1.3.3"
clap = { version = "3.2.25", features = ["derive", "env", "regex", "unicode", "wrap_help"] }
colored = "1.9"
Expand Down
2 changes: 1 addition & 1 deletion hermit-verify/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ version = "0.0.0"
edition = "2021"

[dependencies]
anyhow = "1.0.71"
anyhow = "=1.0.72"
clap = { version = "3.2.25", features = ["derive", "env", "regex", "unicode", "wrap_help"] }
colored = "1.9"
detcore = { version = "0.0.0", path = "../detcore" }
Expand Down

0 comments on commit e069231

Please sign in to comment.