rust-lang / rust-bindgen

Automatically generates Rust FFI bindings to C (and some C++) libraries.
https://rust-lang.github.io/rust-bindgen/
BSD 3-Clause "New" or "Revised" License
4.23k stars 679 forks source link

Remove lazy_static and lazycell dependencies #2817

Closed GKFX closed 2 months ago

GKFX commented 2 months ago

This functionality was moved into the standard library, with a slightly different API, in Rust 1.70 (June 2023). As this was nearly a year ago now I think this is a reasonable MSRV bump. (The change to quickchecking makes use of Mutex::new now being const.)

GKFX commented 2 months ago

CI appears to be broken - https://github.com/rust-lang/rust-bindgen/actions/runs/8853618923/job/24314890579?pr=2817 fails with all changes on this branch reverted.

emilio commented 2 months ago

Huh, it literally was passing yesterday... It seems it's failing trying to load x86-64 clang on an arm macos system, maybe a change on the architecture of the macOS machine?