Skip to content

Commit

Permalink
compiletest: Allow only-unix lines in ui test headers
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Enselic committed Mar 11, 2024
1 parent 4fef513 commit 65eb51c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/tools/compiletest/src/header.rs
Original file line number Diff line number Diff line change
Expand Up @@ -810,6 +810,7 @@ const DIAGNOSTICS_DIRECTIVE_NAMES: &[&str] = &[
"only-sparc",
"only-sparc64",
"only-thumb",
"only-unix",
"only-wasm32",
"only-wasm32-bare",
"only-windows",
Expand Down

0 comments on commit 65eb51c

Please sign in to comment.