Skip to content

Conversation

@cowlicks
Copy link
Member

@cowlicks cowlicks commented Apr 3, 2024

This bug was causing hyperswarm-rs to fail to build:

$ cargo check

   Compiling libutp-sys v0.1.4
The following warnings were emitted during compilation:

...

error: failed to run custom build command for `libutp-sys v0.1.4`

Caused by:
  process didn't exit successfully: `/home/xxxxx/git/hyperswarm-rs/target/debug/build/libutp-sys-48273596246665...

...

  --- 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

This change fixes that temporarily. This code can be removed once this PR is merged.

Or this change could be incorporated into @Frando fork of libutp-rs.

Or EVEN BETTER, get this PR merged with a bump to it's libutp-sys dependency.

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