Skip to content

Commit 65eb51c

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 4fef513 commit 65eb51c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/tools/compiletest/src/header.rs

+1
Original file line numberDiff line numberDiff line change
@@ -810,6 +810,7 @@ const DIAGNOSTICS_DIRECTIVE_NAMES: &[&str] = &[
810810
"only-sparc",
811811
"only-sparc64",
812812
"only-thumb",
813+
"only-unix",
813814
"only-wasm32",
814815
"only-wasm32-bare",
815816
"only-windows",

0 commit comments

Comments
 (0)