Skip to content

Commit

Permalink
Fix tidy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
nopsledder committed Jan 22, 2020
1 parent 4210409 commit 192650a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/librustc_session/session.rs
Expand Up @@ -1127,8 +1127,12 @@ fn validate_commandline_args_with_session_available(sess: &Session) {

// Sanitizers can only be used on some tested platforms.
if let Some(ref sanitizer) = sess.opts.debugging_opts.sanitizer {
const ASAN_SUPPORTED_TARGETS: &[&str] =
&["x86_64-unknown-linux-gnu", "x86_64-apple-darwin", "x86_64-fuchsia", "aarch64-fuchsia" ];
const ASAN_SUPPORTED_TARGETS: &[&str] = &[
"x86_64-unknown-linux-gnu",
"x86_64-apple-darwin",
"x86_64-fuchsia",
"aarch64-fuchsia",
];
const TSAN_SUPPORTED_TARGETS: &[&str] =
&["x86_64-unknown-linux-gnu", "x86_64-apple-darwin"];
const LSAN_SUPPORTED_TARGETS: &[&str] =
Expand Down

0 comments on commit 192650a

Please sign in to comment.