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
Revert "Auto merge of rust-lang#62948 - matklad:failable-file-loading, r=petrochenkov"
This reverts commit ef1ecbe, reversing
changes made to fc8765d.
That changed unfortunately broke rustfix on windows:
rust-lang/rustfix#176
Specifically, what ef1ecbe did was to
enforce normalization of \r\n to \n at file loading time, similarly to
how we deal with Byte Order Mark. Normalization changes raw offsets in
files, which are exposed via `--error-format=json`, and used by rusfix.
The proper solution here (which also handles the latent case with BOM) is
rust-lang#65074
However, since it's somewhat involved, and we are time sensitive, we
prefer to revert the original change on beta.
0 commit comments