We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cargo new --lib doctest_spam
cd doctest_spam
RUST_LOG=info cargo test --doc
Finished dev [unoptimized + debuginfo] target(s) in 0.01s Doc-tests doctest_spam running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
Because RUST_LOG is the env_logger's default for application-level logging and should not affect the output of the tools.
RUST_LOG
env_logger
Finished dev [unoptimized + debuginfo] target(s) in 0.01s Doc-tests doctest_spam [INFO jobserver::imp] created a jobserver: Client { read: File { fd: 3, path: "pipe:[83958]", read: true, write: false }, write: File { fd: 4, path: "pipe:[83958]", read: false, write: true } } [INFO rustc_interface::util] codegen backend candidate: /home/username/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/codegen-backends [INFO rustc_interface::util] probing /home/username/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/codegen-backends for a codegen backend [INFO rustc_metadata::creader] resolving crate `extern crate std as std` [INFO rustc_metadata::creader] falling back to a load ... <250 more lines of this>
$ cargo --version --verbose cargo 1.39.0-nightly (fe0e5a48b 2019-09-04) release: 1.39.0 commit-hash: fe0e5a48b75da2b405c8ce1ba2674e174ae11d5d commit-date: 2019-09-04 $ rustc --version --verbose rustc 1.39.0-nightly (2b8116dce 2019-09-08) binary: rustc commit-hash: 2b8116dced2c6c5d02e1c4359e89dc0919d6001b commit-date: 2019-09-08 host: x86_64-unknown-linux-gnu release: 1.39.0-nightly LLVM version: 9.0
The text was updated successfully, but these errors were encountered:
eh, it's only recently we've shifted away from using it for tools -- but seems like the trend is definitely to do so. I've filed #64329.
Sorry, something went wrong.
403c0de
Successfully merging a pull request may close this issue.
To reproduce
cargo new --lib doctest_spam
cd doctest_spam
RUST_LOG=info cargo test --doc
Expected results
Because
RUST_LOG
is theenv_logger
's default for application-level logging and should not affect the output of the tools.Actual results
Version info
The text was updated successfully, but these errors were encountered: