diff options
| author | León Orell Valerian Liehr <me@fmease.dev> | 2024-06-13 13:05:26 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-13 13:05:26 +0200 |
| commit | 2b5c672a0b98be8627087890d6861985b7042902 (patch) | |
| tree | e2e84c18cd6c72916fe365d9312aa714a2614089 /compiler/rustc_mir_transform/src/coverage/mod.rs | |
| parent | 3e96d58557e8f781ffb2db8a654eed81f93f9e19 (diff) | |
| parent | e09eedbe93bcf4bf44a11d7364e1ebcdc6e9b9d2 (diff) | |
| download | rust-2b5c672a0b98be8627087890d6861985b7042902.tar.gz rust-2b5c672a0b98be8627087890d6861985b7042902.zip | |
Rollup merge of #126370 - Zalathar:normalize, r=oli-obk
compiletest: Stricter parsing of `//@ normalize-*` headers I noticed some problems with the existing parser for these headers: - It is extremely lax, and basically ignores everything other than the text between two pairs of double-quote characters. - Unlike other name-value headers, it doesn't even check for a colon after the header name, so the test suite contains a mixture of with-colon and without-colon normalization rules. - If parsing fails, the header is silently ignored. The latter is especially bad for platform-specific normalization rules, because the lack of normalization probably won't be noticed until the test mysteriously fails in one of the full CI jobs.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/mod.rs')
0 files changed, 0 insertions, 0 deletions
