Skip to content

Commit bd70f0f

Browse files
committed
add a comment about parsing only prefix in header.rs
1 parent 567b07c commit bd70f0f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/tools/compiletest/src/header.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ impl EarlyProps {
4141
iter_header(testfile,
4242
None,
4343
&mut |ln| {
44+
// we should check if any only-<platform> exists and if it exists
45+
// and does not matches the current platform, skip the test
4446
props.ignore =
4547
props.ignore ||
4648
config.parse_cfg_name_directive(ln, "ignore") ||

0 commit comments

Comments
 (0)