All of lore.kernel.org
 help / color / mirror / Atom feed
* LLVM 22 needs bindgen 0.72.1
@ 2026-07-18 19:18 Burak Emir
  2026-07-19 10:02 ` Miguel Ojeda
  0 siblings, 1 reply; 5+ messages in thread
From: Burak Emir @ 2026-07-18 19:18 UTC (permalink / raw)
  To: Nathan Chancellor, Miguel Ojeda; +Cc: rust-for-linux, Alice Ryhl

Hey Nathan, Miguel, anyone who may run into this,

I just filed https://github.com/Rust-for-Linux/linux/issues/1247

I couldn't find this described anywhere, so posting here for wider
reach. Maybe it helps save some time.

I have run into this with the slim LLVM toolchains [1] which use LLVM
22. It could happen with any toolchain LLVM 22.

- bindgen 0.71.1 with a libclang LLVM 22 will erroneously generate
opaque types as bindings. This then leads to build errors "field does
not exist".

- Using bindgen 0.72.1 works fine.

It would be great if the slim LLVM toolchains could be updated to
bindgen 0.72.1

cheers,
Burak

[1] https://mirrors.edge.kernel.org/pub/tools/llvm/rust/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-07-20 22:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-18 19:18 LLVM 22 needs bindgen 0.72.1 Burak Emir
2026-07-19 10:02 ` Miguel Ojeda
2026-07-19 12:17   ` Miguel Ojeda
2026-07-20  9:34     ` Burak Emir
2026-07-20 22:09     ` Nathan Chancellor

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.