Skip to content

Commit 8118691

Browse files
committed
transit all deps to thiserrorv2 except direct dep
1 parent 2f1d1c2 commit 8118691

File tree

5 files changed

+45
-23
lines changed

5 files changed

+45
-23
lines changed

Cargo.lock

Lines changed: 41 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

collector/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ snap = "1"
2929
walkdir = "2"
3030
flate2 = { version = "1.0.22", features = ["rust_backend"] }
3131
rayon = "1"
32-
cargo_metadata = "0.18"
32+
cargo_metadata = "0.19"
3333
thousands = "0.2.0"
3434
rustc-demangle = { version = "0.1", features = ["std"] }
3535
similar = "2.2"

collector/src/artifact_stats.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ pub fn compile_and_get_stats(
225225
..
226226
} = artifact;
227227
if let Some(executable) = executable {
228-
if target.kind.iter().any(|kind| kind == "bin") {
228+
if target.is_bin() {
229229
let stats = ArtifactStats::from_dynamic_object(executable.as_std_path())
230230
.with_context(|| format!("Cannot parse executable stats from {executable}"))?;
231231
archives.push(ArtifactWithStats {

collector/src/runtime/benchmark.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ fn parse_benchmark_group(
276276
if let Some(ref executable) = artifact.executable {
277277
// Found a binary compiled by a runtime benchmark crate.
278278
// Execute it so that we find all the benchmarks it contains.
279-
if artifact.target.kind.iter().any(|k| k == "bin") {
279+
if artifact.target.is_bin() {
280280
if group.is_some() {
281281
return Err(anyhow::anyhow!(
282282
"Runtime benchmark group `{group_name}` has produced multiple binaries"

site/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ analyzeme = "12.0.0"
4242
inferno = { version = "0.11", default-features = false }
4343
mime = "0.3"
4444
# prometheus currently uses plain text, so disable protobuf
45-
prometheus = { version = "0.13", default-features = false }
45+
prometheus = { version = "0.14", default-features = false }
4646
uuid = { version = "1.3.0", features = ["v4"] }
4747
tera = { version = "1.19", default-features = false }
4848
rust-embed = { version = "6.6.0", features = [

0 commit comments

Comments
 (0)