You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running into files created by bindgen for WinOS platforms that have mixed line endings (both CRLF and LF).
For example, bindings/i686-pc-windows-msvc.rs is a mixed EOL file with \r\n\n ending the starting comment.
I'm running into files created by bindgen for WinOS platforms that have mixed line endings (both CRLF and LF).
For example, bindings/i686-pc-windows-msvc.rs is a mixed EOL file with
\r\n\n
ending the starting comment.It looks like this code is the cause...
rust-bindgen/bindgen/lib.rs
Lines 925 to 934 in d71972a
NL
is set per-platform, butwriteln!
always ends with LF, no matter the platform (see https://doc.rust-lang.org/std/macro.write.html).I think that the code you likely want for the write would be:
The text was updated successfully, but these errors were encountered: