Update the dependency of unwinding to fix a `r#try` usage

This commit is contained in:
Zhang Junyang 2024-06-20 15:52:43 +00:00 committed by Tate, Hongliang Tian
parent 5231005f37
commit 5c524348de
2 changed files with 4 additions and 3 deletions

3
Cargo.lock generated
View File

@ -1589,8 +1589,7 @@ checksum = "301abaae475aa91687eb82514b328ab47a211a533026cb25fc3e519b86adfc3c"
[[package]]
name = "unwinding"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "37a19a21a537f635c16c7576f22d0f2f7d63353c1337ad4ce0d8001c7952a25b"
source = "git+https://github.com/nbdd0121/unwinding.git?rev=d7cd46e#d7cd46e009ed1dbc762dbaaf4402f57973b300bb"
dependencies = [
"gimli",
]

View File

@ -31,7 +31,9 @@ spin = "0.9.4"
static_assertions = "1.1.0"
tdx-guest = { version = "0.1.0", optional = true }
trapframe = { git = "https://github.com/asterinas/trapframe-rs", rev = "4739428" }
unwinding = { version = "0.2.1", default-features = false, features = ["fde-gnu-eh-frame-hdr", "hide-trace", "panic", "personality", "unwinder"] }
# This version is in the upstream trunk branch which fixes a `r#try` usage.
# We could switch back to "crates.io" when they publish a new version.
unwinding = { git = "https://github.com/nbdd0121/unwinding.git", rev = "d7cd46e", default-features = false, features = ["fde-gnu-eh-frame-hdr", "hide-trace", "panic", "personality", "unwinder"] }
volatile = { version = "0.4.5", features = ["unstable"] }
[target.x86_64-unknown-none.dependencies]