diff --git a/Cargo.lock b/Cargo.lock index d500fd972..b7d6961f2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -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", ] diff --git a/framework/aster-frame/Cargo.toml b/framework/aster-frame/Cargo.toml index 0a16d6a7f..076abf538 100644 --- a/framework/aster-frame/Cargo.toml +++ b/framework/aster-frame/Cargo.toml @@ -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]