pganalyze / pg_query.rs

Rust library to parse, deparse and normalize SQL queries using the PostgreSQL query parser
MIT License
126 stars 12 forks source link

Build error with bindgen 0.60.1 #29

Closed absporl closed 1 year ago

absporl commented 1 year ago

When using cargo build, I get the following error:

thread 'main' panicked at '"__atomic_wide_counter_struct_(unnamed_at_/usr/include/bits/atomic_wide_counter_h_28_3)" is not a valid Ident', /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.66/src/fallback.rs:774:9

The same problem was observed here to be due to an old bindgen: https://github.com/danstiner/rust-u2f/issues/114