Closed amanuel2 closed 5 months ago
Thanks for the report. There are a few things to note:
rust
branch is archived, please see https://rust-for-linux.com/branches#rust.bindgen
. Mainline or something close to it is generally what you want for Rust development.bindgen
, bindgen-cli
is the name of the crate that contains the CLI tool. Please see https://github.com/rust-lang/rust-bindgen/blob/main/CHANGELOG.md#changed-9 and https://docs.kernel.org/next/rust/quick-start.html#bindgen.cargo add
, but we do not compile the kernel using Cargo.
Based on the "rust" branch I get a string of errors. First error I got was exactly this issue, and I applied the patch myself exactly as specified in the lore.
Now I come onto this error trying to update bindgen after changing it to 0.65.1 as per one of the changes in the lore:
I even tried to hack it around as per so, but then got the error
Am I missing something entirely here?