Repository navigation
Commit c5b032c
test(config): skip the rate-limit parse-error tests under miri
serde_json finds a parse error's line and column with memrchr, which
rounds down to a word boundary and reads aligned usizes. The input is a
String, so miri's -Zmiri-symbolic-alignment-check only knows alignment 1
and reports those reads as undefined behavior, failing
check/miri/powerpc64 in the merge queue for the three tests that feed
the parser invalid policies.
Real reads are aligned. Ignore the three tests under miri, as the repo
does for other tests miri cannot run, rather than relax the alignment
check for every crate.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Daniel Noland <daniel@githedgehog.com>1 parent 44894f8 commit c5b032c
1 file changed
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
237 | 241 | | |
238 | 242 | | |
239 | 243 | | |
| |||
269 | 273 | | |
270 | 274 | | |
271 | 275 | | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
272 | 280 | | |
273 | 281 | | |
274 | 282 | | |
| |||
321 | 329 | | |
322 | 330 | | |
323 | 331 | | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
324 | 336 | | |
325 | 337 | | |
326 | 338 | | |
| |||
0 commit comments