diff options
| author | 许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com> | 2025-02-03 19:13:26 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-03 19:13:26 +0800 |
| commit | ca23707787309824889bd176a8f4e5fad1650fdb (patch) | |
| tree | c65d72f2f8aa60bfbb368ffb0963870b67deaa60 /compiler/rustc_codegen_cranelift/example/example.rs | |
| parent | 7be7f3b50ea98293969c8aaf4a0f83d37e5d6063 (diff) | |
| parent | f88f0a8c0ea9cea48c6aba7381d5460619035e9e (diff) | |
| download | rust-ca23707787309824889bd176a8f4e5fad1650fdb.tar.gz rust-ca23707787309824889bd176a8f4e5fad1650fdb.zip | |
Rollup merge of #136404 - fmease:rm-compiletest-relic-of-the-past, r=Noratrieb,jieyouxu
Remove a footgun-y feature / relic of the past from the compiletest DSL The compiletest DSL still features a historical remnant from the time when its directives were merely prefixed with `//` instead of `//`@`` when unknown directive names weren't rejected since they could just as well be part of prose: As an "optimization", it stops looking for directives once it stumbles upon a line which starts with either `fn` or `mod`. This is super footgun-y as it obviously leads to any seeming compiletest directives below `fn` and `mod` items getting completely ignored. See #136403 for a practical example. As well the assembly test updated in this PR. ~~Blocked on #136403.~~ (merged)
Diffstat (limited to 'compiler/rustc_codegen_cranelift/example/example.rs')
0 files changed, 0 insertions, 0 deletions
