This post is also published as an issue on the original repo. The content is similar to the related issue.
I have a strange issue where logos fails tests only on Windows builds.
While MacOS and Linux builds pass the tests, Windows build oddly fails while parsing a token.
At first, I have thought maybe it is related Windows paths when I
include_str here since it might require backwards slashes. However, it is not the case, the file is read successfully.
Windows Whitespace Encoding
This is the only thing I am suspicious about. I define there might be a whitespace at this line as
[ ]. Maybe the encoding in Windows is not the same. What do you say?
- Rust 1.43.1
- logos 0.11.4