Skip to content

Commit 6475255

Browse files
committed
auto merge of #11235 : am0d/rust/doc_update, r=brson
Running a rust program with `RUST_LOG=::help` no longer shows all the logging modules that are mentioned in the docs. These should be removed from the docs as they no longer do anything.
2 parents 1b14a93 + 7a8ca91 commit 6475255

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

doc/rust.md

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -3806,25 +3806,6 @@ As a convenience, the logging spec can also be set to a special pseudo-crate,
38063806
`::help`. In this case, when the application starts, the runtime will
38073807
simply output a list of loaded modules containing log expressions, then exit.
38083808

3809-
The Rust runtime itself generates logging information. The runtime's logs are
3810-
generated for a number of artificial modules in the `::rt` pseudo-crate,
3811-
and can be enabled just like the logs for any standard module. The full list
3812-
of runtime logging modules follows.
3813-
3814-
* `::rt::mem` Memory management
3815-
* `::rt::comm` Messaging and task communication
3816-
* `::rt::task` Task management
3817-
* `::rt::dom` Task scheduling
3818-
* `::rt::trace` Unused
3819-
* `::rt::cache` Type descriptor cache
3820-
* `::rt::upcall` Compiler-generated runtime calls
3821-
* `::rt::timer` The scheduler timer
3822-
* `::rt::gc` Garbage collection
3823-
* `::rt::stdlib` Functions used directly by the standard library
3824-
* `::rt::kern` The runtime kernel
3825-
* `::rt::backtrace` Log a backtrace on task failure
3826-
* `::rt::callback` Unused
3827-
38283809
#### Logging Expressions
38293810

38303811
Rust provides several macros to log information. Here's a simple Rust program

0 commit comments

Comments
 (0)