about summary refs log tree commit diff
diff options
context:
space:
mode:
author许杰友 Jieyou Xu (Joe) <jieyouxu@outlook.com>2024-02-21 00:43:10 +0000
committer许杰友 Jieyou Xu (Joe) <jieyouxu@outlook.com>2024-02-22 16:04:03 +0000
commitbe94059be9faae6eabfbd6f77650da878a80a298 (patch)
treef698014aab3e885fcd7804dd458e19abd136690c
parent95f4d4da43b58b1ca8e3d43cc4b585930294e2b9 (diff)
downloadrust-be94059be9faae6eabfbd6f77650da878a80a298.tar.gz
rust-be94059be9faae6eabfbd6f77650da878a80a298.zip
Update tidy target_specific_tests to account for `//@` directives
-rw-r--r--src/tools/tidy/src/target_specific_tests.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/tidy/src/target_specific_tests.rs b/src/tools/tidy/src/target_specific_tests.rs
index de022be2894..c6136a18bd8 100644
--- a/src/tools/tidy/src/target_specific_tests.rs
+++ b/src/tools/tidy/src/target_specific_tests.rs
@@ -6,7 +6,7 @@ use std::path::Path;
 
 use crate::walk::filter_not_rust;
 
-const COMMENT: &str = "//";
+const COMMENT: &str = "//@";
 const LLVM_COMPONENTS_HEADER: &str = "needs-llvm-components:";
 const COMPILE_FLAGS_HEADER: &str = "compile-flags:";