Skip to content

Bindgen ERROR: unsupported type CXTypeKind(119) #61

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

Closed
MabezDev opened this issue Oct 7, 2019 · 3 comments
Closed

Bindgen ERROR: unsupported type CXTypeKind(119) #61

MabezDev opened this issue Oct 7, 2019 · 3 comments

Comments

@MabezDev
Copy link

MabezDev commented Oct 7, 2019

$ clang --version

clang version 8.0.1 (tags/RELEASE_801/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin

Is there a specific version of clang required to build this project?

@jethrogb
Copy link
Member

jethrogb commented Oct 7, 2019

Unfortunately the version of bindgen used requires clang 3.8 or older right now. We're working on fixing this.

Closing as duplicate of #5.

@jethrogb jethrogb closed this as completed Oct 7, 2019
@jethrogb jethrogb mentioned this issue Mar 11, 2021
1 task
@jethrogb
Copy link
Member

Final PR: #152

bors bot added a commit that referenced this issue Apr 6, 2021
152: Update bindgen r=raoulstrackx a=jethrogb

I took some time this week to make the necessary bindgen changes (rust-lang/rust-bindgen#2004 rust-lang/rust-bindgen#2006 rust-lang/rust-bindgen#2007). This PR updates the bindgen build to use that.

Breaking changes:
* unnamed types are renamed
* C-unions are now actual unions
  * [x] the field accessor functions that used to exist are easy enough to add back
* bitfields are done differently now
* some fn-ptrs are now unsafe
* some fns and fn-ptrs now take const pointers as arguments
* havege.c and timing.c are now not compiled on non-unix platforms, i.e. SGX (probably wasn't working properly anyway)

Fixes #5 #14 #61 #72 #88 #121

Co-authored-by: Jethro Beekman <[email protected]>
@jethrogb
Copy link
Member

jethrogb commented Apr 6, 2021

Fixed in #152

Taowyoo added a commit that referenced this issue Jun 12, 2023
Because #61 and PR#152, mbedtls is no longer compitable with
v2.25.0 mbedtls
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

No branches or pull requests

2 participants