Skip to content

Commit bf60149

Browse files
committed
compiletest: Allow only-unix lines in ui test headers
This is a valid variant, which can be confirmed by adding an invalid variant such as `only-foobar`. In that case there will be an error later in the parsing.
1 parent 79c4d20 commit bf60149

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: src/tools/compiletest/src/header.rs

+1
Original file line numberDiff line numberDiff line change
@@ -853,6 +853,7 @@ const KNOWN_DIRECTIVE_NAMES: &[&str] = &[
853853
"only-sparc64",
854854
"only-stable",
855855
"only-thumb",
856+
"only-unix",
856857
"only-wasm32",
857858
"only-wasm32-bare",
858859
"only-windows",

0 commit comments

Comments
 (0)