Skip to content

Commit 16e9c5c

Browse files
authored
Unrolled build for rust-lang#140546
Rollup merge of rust-lang#140546 - LegNeato:anyhowbacktrace, r=jieyouxu Remove backtrace dep from anyhow in features status dump tool According to `anyhow`'s Cargo.toml: > On compilers older than 1.65, features=["backtrace"] may be used to enable > backtraces via the `backtrace` crate. This feature has no effect on 1.65+ > besides bringing in an unused dependency, as `std::backtrace` is always > preferred. So this is just bringing in an unused dependency.
2 parents 2ad5f86 + 60218be commit 16e9c5c

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

Cargo.lock

-3
Original file line numberDiff line numberDiff line change
@@ -161,9 +161,6 @@ name = "anyhow"
161161
version = "1.0.97"
162162
source = "registry+https://github.com/rust-lang/crates.io-index"
163163
checksum = "dcfed56ad506cb2c684a14971b8861fdc3baaaae314b9e5f9bb532cbe3ba7a4f"
164-
dependencies = [
165-
"backtrace",
166-
]
167164

168165
[[package]]
169166
name = "ar_archive_writer"

src/tools/features-status-dump/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ license = "MIT OR Apache-2.0"
55
edition = "2021"
66

77
[dependencies]
8-
anyhow = { version = "1", features = ["backtrace"] }
8+
anyhow = { version = "1" }
99
clap = { version = "4", features = ["derive"] }
1010
serde = { version = "1.0.125", features = [ "derive" ] }
1111
serde_json = "1.0.59"

0 commit comments

Comments
 (0)