Code generated by `cc` does not work with Rust Edition 2024 as `extern "C"` blocks now need to be `unsafe`. Here is a related issue from the bindgen crate: https://github.com/rust-lang/rust-bindgen/pull/3015