Accept only-wasm32-wasip1 directives
This commit is contained in:
parent
0157da41ee
commit
1dcbc23c4b
1 changed files with 4 additions and 3 deletions
|
@ -691,9 +691,9 @@ pub fn line_directive<'line>(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// This is generated by collecting directives from ui tests and then extracting their directive
|
/// This was originally generated by collecting directives from ui tests and then extracting their
|
||||||
/// names. This is **not** an exhaustive list of all possible directives. Instead, this is a
|
/// directive names. This is **not** an exhaustive list of all possible directives. Instead, this is
|
||||||
/// best-effort approximation for diagnostics.
|
/// a best-effort approximation for diagnostics. Add new headers to this list when needed.
|
||||||
const KNOWN_DIRECTIVE_NAMES: &[&str] = &[
|
const KNOWN_DIRECTIVE_NAMES: &[&str] = &[
|
||||||
// tidy-alphabetical-start
|
// tidy-alphabetical-start
|
||||||
"assembly-output",
|
"assembly-output",
|
||||||
|
@ -872,6 +872,7 @@ const KNOWN_DIRECTIVE_NAMES: &[&str] = &[
|
||||||
"only-unix",
|
"only-unix",
|
||||||
"only-wasm32",
|
"only-wasm32",
|
||||||
"only-wasm32-bare",
|
"only-wasm32-bare",
|
||||||
|
"only-wasm32-wasip1",
|
||||||
"only-windows",
|
"only-windows",
|
||||||
"only-x86",
|
"only-x86",
|
||||||
"only-x86_64",
|
"only-x86_64",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue