libcryptsetup-rs icon indicating copy to clipboard operation
libcryptsetup-rs copied to clipboard

Prototype of bindgen workaround usage

Open jbaublitz opened this issue 1 year ago • 4 comments

Related to rust-lang/rust-bindgen#753

jbaublitz avatar Mar 06 '24 03:03 jbaublitz

Thank you for the first usable workaround for this issue in 7 years.
I hope to see progress on 753, but this works very well for now.

EDIT: This works on Linux, but when I try to use it on Windows it just continues to build forever. EDIT2: It seems this is because I had put my header directly in the bindgen header arg instead of inside a wrapper.h, doing that fixes it for some reason...

ShayBox avatar Mar 08 '24 21:03 ShayBox

@ShayBox I would strongly recommend against using it and for waiting until I put up a PR on Github against bindgen. I'm still ironing out some issues with the code so it is not production ready yet, but would love to get anyone's feedback on the code once the PR is up.

jbaublitz avatar Mar 10 '24 02:03 jbaublitz

@ShayBox You can now follow along with development here.

jbaublitz avatar Mar 11 '24 16:03 jbaublitz

Related to https://github.com/stratis-storage/project/issues/713 .

mulkieran avatar Sep 04 '24 13:09 mulkieran