Closed uglyoldbob closed 1 month ago
Hi!
Bindgen's CI workflows runs on ubuntu 22.04 already, which means that any issue you're seeing is related somehow to your system's configuration.
This particular assertion error points to different pointer size between the effective target (the one clang uses) and the host target. Meaning that your development environment convinced clang that pointers in x86_64 are not 8 bytes long.
Apparently bindgen was picking up clang for a totally different architecture. I just uninstalled it and its working now.
When running bindgen on an ubuntu 22.04 system, I get an assert error.
thread 'main' panicked at /home/thomas/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bindgen-0.69.4/lib.rs:899:13: assertion
left == right
failed: "x86_64-unknown-linux-gnu" "x86_64-unknown-linux-gnu" left: 2 right: 8 note: run withRUST_BACKTRACE=1
environment variable to display a backtrace