diff --git a/.config/nextest.toml b/.config/nextest.toml index 819dc94..19f3174 100644 --- a/.config/nextest.toml +++ b/.config/nextest.toml @@ -7,12 +7,13 @@ slow-timeout = "60s" # One failure must not hide the others. fail-fast = false -# Full decode, export and render runs are the heavy ones: at most two at once. +# Full decode, export and render runs are the heavy ones: at most two at once. The +# mixed-rate exports and the vp9 stall check race their own deadlines, so they wait too. [test-groups.heavy] max-threads = 2 [[profile.default.overrides]] -filter = 'package(engine) and test(/export|decode|render/)' +filter = 'package(engine) and (test(/export|decode|render/) or binary(audio_mix_rates) or test(=vp9::a_refused_codec_at_a_span_advances_instead_of_stalling))' test-group = "heavy" # The quick tier for edits in progress: `cargo nextest run -P fast`. It skips the slow diff --git a/Cargo.toml b/Cargo.toml index 30d8cea..d96b2e3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,6 +25,13 @@ edition = "2024" [profile.dev] debug = "line-tables-only" +# symphonia's WAV reader multiplies a header's channel count by its sample size +# in u16 for a log line alone; a damaged header overflows it. Release wraps and +# carries on, so a dev build must not panic where a shipped one does not +# (media_fuzz damaged_media_never_panics_or_hangs). +[profile.dev.package.symphonia-format-riff] +overflow-checks = false + # Vendored third-party crate, patched for one clearly marked fix (see below). [patch.crates-io] # Drops the `pub use proc_macro;` re-export (E0365 future-incompat, rustc