Skip to content

Commit 751817a

Browse files
Auto merge of #146188 - dpaoliello:tracing, r=<try>
Update tracing, again
2 parents 397f933 + d769b53 commit 751817a

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

Cargo.lock

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4072,7 +4072,6 @@ name = "rustc_log"
40724072
version = "0.0.0"
40734073
dependencies = [
40744074
"tracing",
4075-
"tracing-core",
40764075
"tracing-subscriber",
40774076
"tracing-tree",
40784077
]
@@ -5518,11 +5517,10 @@ checksum = "5d99f8c9a7727884afe522e9bd5edbfc91a3312b36a77b5fb8926e4c31a41801"
55185517

55195518
[[package]]
55205519
name = "tracing"
5521-
version = "0.1.37"
5520+
version = "0.1.41"
55225521
source = "registry+https://github.com/rust-lang/crates.io-index"
5523-
checksum = "8ce8c33a8d48bd45d624a6e523445fd21ec13d3653cd51f681abf67418f54eb8"
5522+
checksum = "784e0ac535deb450455cbfa28a6f0df145ea1bb7ae51b821cf5e7927fdcfbdd0"
55245523
dependencies = [
5525-
"cfg-if",
55265524
"pin-project-lite",
55275525
"tracing-attributes",
55285526
"tracing-core",
@@ -5541,9 +5539,9 @@ dependencies = [
55415539

55425540
[[package]]
55435541
name = "tracing-core"
5544-
version = "0.1.30"
5542+
version = "0.1.34"
55455543
source = "registry+https://github.com/rust-lang/crates.io-index"
5546-
checksum = "24eb03ba0eab1fd845050058ce5e616558e8f8d8fca633e6b163fe25c797213a"
5544+
checksum = "b9d12581f227e93f094d3af2ae690a574abb8a2b9b7a96e7cfe9647b2b617678"
55475545
dependencies = [
55485546
"once_cell",
55495547
"valuable",

compiler/rustc_log/Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,11 @@ edition = "2024"
66
[dependencies]
77
# tidy-alphabetical-start
88
tracing = "0.1.28"
9-
tracing-core = "=0.1.30" # FIXME(Nilstrieb) tracing has a deadlock: https://github.com/tokio-rs/tracing/issues/2635
109
tracing-subscriber = { version = "0.3.3", default-features = false, features = ["fmt", "env-filter", "smallvec", "parking_lot", "ansi"] }
1110
tracing-tree = "0.3.1"
1211
# tidy-alphabetical-end
1312

1413
[features]
1514
# tidy-alphabetical-start
16-
max_level_info = ['tracing/max_level_info']
15+
max_level_info = ['tracing/max_level_info', 'tracing/release_max_level_info']
1716
# tidy-alphabetical-end

compiler/rustc_log/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ use std::fmt::{self, Display};
3838
use std::io::{self, IsTerminal};
3939

4040
use tracing::dispatcher::SetGlobalDefaultError;
41-
use tracing_core::{Event, Subscriber};
41+
use tracing::{Event, Subscriber};
4242
use tracing_subscriber::filter::{Directive, EnvFilter, LevelFilter};
4343
use tracing_subscriber::fmt::FmtContext;
4444
use tracing_subscriber::fmt::format::{self, FormatEvent, FormatFields};

0 commit comments

Comments
 (0)