-
Notifications
You must be signed in to change notification settings - Fork 12.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace a command line flag with an env var to allow tools to initial…
…ize the tracing loggers at their own discretion
- Loading branch information
Showing
6 changed files
with
8 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
// run-pass | ||
// | ||
// This test makes sure that log-backtrace option doesn't give a compilation error. | ||
// This test makes sure that log-backtrace option at least parses correctly | ||
// | ||
// dont-check-compiler-stdout | ||
// dont-check-compiler-stderr | ||
// rustc-env:RUSTC_LOG=info | ||
// compile-flags: -Zlog-backtrace=rustc_metadata::creader | ||
// rustc-env:RUSTC_LOG_BACKTRACE=rustc_metadata::creader | ||
fn main() {} |