Skip to content

Commit 6b081f7

Browse files
authored
Update to unwinding 0.2.4. (#151)
* Update to unwinding 0.2.4. Remove the `cfg(panic = "unwind")` in Cargo.toml. * Restore the "unwinding" feature comment.
1 parent 29bbfab commit 6b081f7

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ alloc = { version = "1.0.0", optional = true, package = "rustc-std-workspace-all
4343

4444
# Use the unwinding crate if support for unwinding is needed. This depends on
4545
# nightly Rust. And it's not supported on ARM yet.
46-
[target.'cfg(all(panic = "unwind", not(target_arch = "arm")))'.dependencies.unwinding]
47-
version = "0.2.3"
46+
[target.'cfg(not(target_arch = "arm"))'.dependencies.unwinding]
47+
version = "0.2.4"
4848
default-features = false
4949
features = ["unwinder"]
5050
optional = true
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
Like the [origin-start example], but uses panic=abort in Cargo.toml.
1+
Like the [origin-start example], but uses panic=abort in Cargo.toml instead of
2+
enabling origin's "unwinding" feature.
23

34
[origin-start example]: https://github.com/sunfishcode/origin/blob/main/example-crates/origin-start/README.md

0 commit comments

Comments
 (0)