about summary refs log tree commit diff
path: root/library/std/src/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorAaron Hill <aa1ronham@gmail.com>2021-03-14 19:03:16 -0400
committerAaron Hill <aa1ronham@gmail.com>2021-03-14 20:22:13 -0400
commit7429c688a5988d1f7f836f870b8689c44fa3c9de (patch)
tree360f3ca4256e037a2e46f635c0820ab3db613caf /library/std/src/sys/unix/stack_overflow.rs
parentbb4cdf8ec034dca5c056ec9295f38062e5b7e871 (diff)
downloadrust-7429c688a5988d1f7f836f870b8689c44fa3c9de.tar.gz
rust-7429c688a5988d1f7f836f870b8689c44fa3c9de.zip
Don't encode file information for span with a dummy location
Fixes #83112

The location information for a dummy span isn't real, so don't encode
it. This brings the incr comp cache code into line with the Span
`StableHash` impl, which doesn't hash the location information for dummy
spans.

Previously, we would attempt to load the 'original' file from a dummy
span - if the file id changed (e.g. due to being moved on disk), we would get an
ICE, since the Span was still valid due to its hash being unchanged.
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions