-
Notifications
You must be signed in to change notification settings - Fork 889
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 #2003
Comments
Could you please try with the latest rustfmt-nightly? I hope that it works... |
@topecongiro, can I do that from cargo? I just installed doing this, but it still errors. Did it work for you?
|
Sorry, I'll test with rustfmt-nightly. Didn't realize what you were asking until I read through the readme just now. |
rustfmt-nightly works. It creates a file that compiles. How can I increase the maximum width allowed?
|
Thank you! You could add |
A file that compiles is no longer able to be compiled after running rustfmt on it.
For more details, see rust-lang/rust-bindgen#1045 & ctaggart/octh#27.
Here is the file that does compile:
Run rustfmt on it returns an exit code of 3:
And now it no longer compiles:
The text was updated successfully, but these errors were encountered: