Show stderr
from code blocks
#531
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
Today, mdbook doesn't show
stderr
when running Rust code. The problem is that it uses a Playground endpoint which doesn't deliver this information. However, the Playground itself does have this information via an internal endpoint. See rust-lang/mdBook#1315 for details.Fixing this would allow us to start using
dbg!(foo)
instead ofprintln!("foo: {foo:?}")
in our code samples and thus simplify a lot of code blocks.With google/mdbook-i18n-helpers#75 merged, many more code blocks would be automatically removed from the translation files, thus reducing churn for our translators.
The text was updated successfully, but these errors were encountered: