Skip to content

Commit

Permalink
add a comment about parsing only prefix in header.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
Pulkit07 committed Jan 16, 2018
1 parent 567b07c commit bd70f0f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tools/compiletest/src/header.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ impl EarlyProps {
iter_header(testfile,
None,
&mut |ln| {
// we should check if any only-<platform> exists and if it exists
// and does not matches the current platform, skip the test
props.ignore =
props.ignore ||
config.parse_cfg_name_directive(ln, "ignore") ||
Expand Down

0 comments on commit bd70f0f

Please sign in to comment.