Skip to content

Commit

Permalink
Merge #273
Browse files Browse the repository at this point in the history
273: Update bindgen to latest version (0.65.1) to fix "not a valid Ident" error r=Taowyoo a=sburton84

Trying to build `mbedtls-sys-auto` on my machine was resulting in the following error:
```
  thread 'main' panicked at '"x509_san_other_name_union_(unnamed_at_vendor/include/mbedtls/x509_crt_h_115_5)" is not a valid Ident', /home/sburton/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.58/src/fallback.rs:811:9
```

I'm not sure exactly what change on my machine causes this, it fails even when using the same rustc version as previously worked, could possibly be related to updating installed LLVM version?

Regardless, updating the `bindgen` version being used fixes the issue. This PR just updates `bindgen` (plus changes the call to `rustfmt_bindings` which has been deprecated).

Co-authored-by: Sean Burton <sean.burton@quantinuum.com>
  • Loading branch information
bors[bot] and sburton84 authored May 22, 2023
2 parents fc225d2 + 003bea9 commit 0666c30
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 149 deletions.
Loading

0 comments on commit 0666c30

Please sign in to comment.