Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error updating bindgen #1060

Closed
amanuel2 opened this issue Feb 2, 2024 · 1 comment
Closed

Error updating bindgen #1060

amanuel2 opened this issue Feb 2, 2024 · 1 comment

Comments

@amanuel2
Copy link

amanuel2 commented Feb 2, 2024

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:

> cargo install --locked --version $(scripts/min-tool-version.sh bindgen) bindgen
    Updating crates.io index
warning: no Cargo.lock file published in bindgen v0.65.1
error: there is nothing to install in `bindgen v0.65.1`, because it has no binaries
`cargo install` is only for installing programs, and can't be used with libraries.
To use a library crate, add it as a dependency to a Cargo project with `cargo add`.

I even tried to hack it around as per so, but then got the error

>  cargo add bindgen                               ✔  1997  00:03:21
error: failed to parse manifest at `/home/aman/Documents/rust-linux/Cargo.toml`

Caused by:
  virtual manifests must be configured with [workspace]

Am I missing something entirely here?

@ojeda
Copy link
Member

ojeda commented Feb 2, 2024

Thanks for the report. There are a few things to note:

@ojeda ojeda closed this as completed Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants