diff options
| author | Arlo Siemsen <arsiem@microsoft.com> | 2020-04-11 20:21:51 -0700 |
|---|---|---|
| committer | Arlo Siemsen <arsiem@microsoft.com> | 2020-04-11 23:26:46 -0700 |
| commit | f41aa161c223b6490486d81339f4da91e80b8c0a (patch) | |
| tree | c98df2b4476faacacb03a89e220b3ffb48aa2d41 /src/libstd/sys/unix/stack_overflow.rs | |
| parent | 42abbd8878d3b67238f3611b0587c704ba94f39c (diff) | |
| download | rust-f41aa161c223b6490486d81339f4da91e80b8c0a.tar.gz rust-f41aa161c223b6490486d81339f4da91e80b8c0a.zip | |
Normalize source when loading external foreign source into SourceMap
The compiler normalizes source when reading files initially (removes BOMs, etc), but not when loading external sources. Fixes #70874 by normalizing when loading external sources too. Adds a test to verify normalization.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
