File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
src/tools/compiletest/src Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -691,9 +691,9 @@ pub fn line_directive<'line>(
691691 }
692692}
693693
694- /// This is generated by collecting directives from ui tests and then extracting their directive
695- /// names. This is **not** an exhaustive list of all possible directives. Instead, this is a
696- /// best-effort approximation for diagnostics.
694+ /// This was originally generated by collecting directives from ui tests and then extracting their
695+ /// directive names. This is **not** an exhaustive list of all possible directives. Instead, this is
696+ /// a best-effort approximation for diagnostics. Add new headers to this list when needed .
697697const KNOWN_DIRECTIVE_NAMES : & [ & str ] = & [
698698 // tidy-alphabetical-start
699699 "assembly-output" ,
@@ -872,6 +872,7 @@ const KNOWN_DIRECTIVE_NAMES: &[&str] = &[
872872 "only-unix" ,
873873 "only-wasm32" ,
874874 "only-wasm32-bare" ,
875+ "only-wasm32-wasip1" ,
875876 "only-windows" ,
876877 "only-x86" ,
877878 "only-x86_64" ,
You can’t perform that action at this time.
0 commit comments