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

Fix build failure #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

cowlicks
Copy link

@cowlicks cowlicks commented Apr 3, 2024

The build was failing with this:

$ cargo check
...
  --- stderr
  thread 'main' panicked at /home/blake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bindgen-0.55.1/src/ir/context.rs:838:9:
  "__atomic_wide_counter_struct_(unnamed_at_/usr/include/bits/atomic_wide_counter_h_28_3)" is not a valid Ident
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Looked the same as this bug. The fix was updating bindgen.

This PR updates bindgen to the latest version (0.69.4), and updated build.rs to reflect this change.
Basically all that was needed was a s/blacklist/blocklist/

p.s. I'm fixing this because it is downstream of hyperswarm-rs. That project is still dependent on this branch that derives Clone. cc @Frando any idea how much work applying your suggested changes there might be?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant