Skip to content

Commit 477309b

Browse files
bvanjoitshepang
authored andcommitted
tracing log along diff crates
1 parent 8a87736 commit 477309b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/tracing.md

+4
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,10 @@ $ RUSTC_LOG=debug rustc +stage1 my-file.rs 2>all-log
144144
# compilers.
145145
$ RUSTC_LOG=rustc_codegen_ssa=info rustc +stage1 my-file.rs
146146

147+
# This will show the all tracing calls under `rustc_codegen_ssa` and
148+
# `rustc_resolve`.
149+
$ RUSTC_LOG=rustc_codegen_ssa,rustc_resolve rustc +stage1 my-file.rs
150+
147151
# This will show the output of all `info!` calls made by rustdoc
148152
# or any rustc library it calls.
149153
$ RUSTDOC_LOG=info rustdoc +stage1 my-file.rs

0 commit comments

Comments
 (0)