We are currently in the process of updating rustc in Debian to 1.86. Our CI tests discovered that the new version of rustc causes the tests for rust-freetype to panic.
46s thread 'freetype::bindgen_test_layout_FT_Bitmap_' panicked at src/freetype.rs:403:17:
46s null pointer dereference occurred
It appears the bindings in this crate were generated with an old version of bindgen. Unfortunately the test code generated by said version of bindgen includes null pointer dereferences. Previous versions of rustc silently tolerated these (even though they were alway strictly-speaking undefined behaviour), but the new version panics.
We are currently in the process of updating rustc in Debian to 1.86. Our CI tests discovered that the new version of rustc causes the tests for rust-freetype to panic.
It appears the bindings in this crate were generated with an old version of bindgen. Unfortunately the test code generated by said version of bindgen includes null pointer dereferences. Previous versions of rustc silently tolerated these (even though they were alway strictly-speaking undefined behaviour), but the new version panics.