about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorArlo Siemsen <arsiem@microsoft.com>2020-04-11 20:21:51 -0700
committerArlo Siemsen <arsiem@microsoft.com>2020-04-11 23:26:46 -0700
commitf41aa161c223b6490486d81339f4da91e80b8c0a (patch)
treec98df2b4476faacacb03a89e220b3ffb48aa2d41 /src/libstd/sys/unix/stack_overflow.rs
parent42abbd8878d3b67238f3611b0587c704ba94f39c (diff)
downloadrust-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