Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rust: Compile miniz_oxide and flate2 dependencies with optimizations,…
… always This seems to be some recent regression, possibly in 1.84.0 Debug builds crash the iOS tests, specifically the `testPendingDeletionRequestPingsAreSentOnStartup` test with a real hard crash: Thread 2: EXC_BAD_ACCESS (code=2, address=0x16d3ebfb0) pointing deep inside `library/alloc/src/boxed.rs` here: https://github.com/rust-lang/rust/blob/3ff1b6410e87a237559ab76ecd50f180afbe861f/library/alloc/src/boxed.rs#L1733 Tracing that upwards leads us to `Box::default()` in miniz_oxide, were T is a struct containing 3 arrays, with a total size of 164098. I can only assume that this somehow blows the stack. Why now? I don't know. We had a successful CI run on 29e1722, followed by failures starting with c46917a. From my quick look that's the exact same environment: xcode:15.1.0, rustc 1.84.0 Yet it fails on CI. And locally. rustc 1.83 is fine. So is a release build.
- Loading branch information