add a comment about parsing only prefix in header.rs

This commit is contained in:
Pulkit Goyal 2018-01-16 19:09:32 +05:30
parent 567b07c9e6
commit bd70f0fa66

View File

@ -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") ||