diff options
| author | 许杰友 Jieyou Xu (Joe) <jieyouxu@outlook.com> | 2024-02-21 00:39:54 +0000 |
|---|---|---|
| committer | 许杰友 Jieyou Xu (Joe) <jieyouxu@outlook.com> | 2024-02-22 16:04:03 +0000 |
| commit | 95f4d4da43b58b1ca8e3d43cc4b585930294e2b9 (patch) | |
| tree | 372de5cf8e4c777082bd3879ce53987fac3edc48 | |
| parent | 90a189c19b6bcd897cb2fefbb16b8aa6d7ad6cf6 (diff) | |
| download | rust-95f4d4da43b58b1ca8e3d43cc4b585930294e2b9.tar.gz rust-95f4d4da43b58b1ca8e3d43cc4b585930294e2b9.zip | |
Update tidy target_policy to account for `//@` directives
| -rw-r--r-- | src/tools/tidy/src/target_policy.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/tidy/src/target_policy.rs b/src/tools/tidy/src/target_policy.rs index ca6590d1502..382488e5721 100644 --- a/src/tools/tidy/src/target_policy.rs +++ b/src/tools/tidy/src/target_policy.rs @@ -7,7 +7,7 @@ use std::{collections::HashSet, path::Path}; const TARGET_DEFINITIONS_PATH: &str = "compiler/rustc_target/src/spec/targets/"; const ASSEMBLY_TEST_PATH: &str = "tests/assembly/targets/"; -const REVISION_LINE_START: &str = "// revisions: "; +const REVISION_LINE_START: &str = "//@ revisions: "; const EXCEPTIONS: &[&str] = &[ // FIXME: disabled since it fails on CI saying the csky component is missing "csky_unknown_linux_gnuabiv2", |
