Can't rebuild standard library files on Windows #4989
Labels
kind: language development speed
Slows down development of Dafny the language, flaky tests
platform: windows
Windows-specific issues
Follow up from #4824
The
check-binary
Make targets work by rebuilding the doo files, then comparing them to the checked in copies. They do this by unzipping and comparing the contents. Because the currently committed doo files are generally built on Macs, this means if a developer makes changes and rebuilds them on a Windows machine, the comparison fails because of the difference in line endings.I propose fixing this by standardizing line endings inside doo files. This does imply altering program content when serializing to doo files, but this is already happening (merging multiple original source files into one, not yet maintaining comments or formatting of expressions in general) and needs to be allowed in general in order to optimize doo files in the future.
The text was updated successfully, but these errors were encountered: