Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upSIGSEGV running rust-bindgen on Objective-C headers #665
Comments
This comment has been minimized.
This comment has been minimized.
Interestingly, changing the input header to only import framework umbrella headers while using the same invocation changes things: Alternative Objective-C Header#import <Foundation/Foundation.h>
#import <AppKit/AppKit.h> // both NSWindow and NSTableView are found in AppKit Actual Results
This looks to be running up against the incompleteness of the Objective-C support presently in |
This comment has been minimized.
This comment has been minimized.
Thanks for the bug report! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Input
C/C++Objective-C HeaderBindgen Invocation
Invoked via
cargo build
withRUST_LOG=libbindgen
andRUST_BACKTRACE=1
.Actual Results
Note: No stack trace generated!
Expected Results
At this point, simply successful execution without segfault and generation of bindings, even if incorrect.