-
Notifications
You must be signed in to change notification settings - Fork 716
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
can't compile bindings after rustfmt #1045
Comments
If I install rustfmt-nightly instead, it works. The downside is that it requires rust nightly. |
Yeah, it's unfortunate, but the |
Mentioned on https://news.ycombinator.com/item?id=17314968 and might need to be re-opened. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
rustfmt returns a exit code of 3. In #1042, it looks like it will treat that as a warning. However, this code will not compile after that. ctaggart/octh#27
Input C/C++ Header
Bindgen Invocation
Actual Results
Creates this which compiles:
Run rustfmt on it returns an exit code of 3:
And now it no longer compiles:
Expected Results
bindgen errors when rustfmt errors. And may be we simple expect rustfmt to not error in this case and log a bug there.
The text was updated successfully, but these errors were encountered: