about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-01-07 09:23:33 +0000
committerbors <bors@rust-lang.org>2018-01-07 09:23:33 +0000
commit69f17d1a0a3c860e3f5d7e643a6c3f8aa2b638a6 (patch)
tree60befa13b9566a333a83f8b3228a78be2de2bc9e /src/rustllvm/RustWrapper.cpp
parent2148bcd5fa508d44c2c3517dccf8450a5984e315 (diff)
parent30d921fb1e0ea920fc85af6fa46c2be3317568c3 (diff)
downloadrust-69f17d1a0a3c860e3f5d7e643a6c3f8aa2b638a6.tar.gz
rust-69f17d1a0a3c860e3f5d7e643a6c3f8aa2b638a6.zip
Auto merge of #47177 - michaelwoerister:erase-invalid-spans-during-metadata-encoding, r=alexcrichton
Map invalid Spans to DUMMY_SP during crate metadata encoding.

This mirrors what we do for stabilizing the incr. comp. cache and is necessary for reproducible builds. For the incr. comp. cache, we *have* to do this because the encoding there cannot represent broken Spans. Metadata encoding has to be in sync with that as not to get unexpected interactions when compiling incrementally.

This should help with fixing issue https://github.com/rust-lang/rust/issues/47066.

r? @alexcrichton
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions