about summary refs log tree commit diff
path: root/src/test/rustdoc-ui/coverage/json.rs
diff options
context:
space:
mode:
authorMark Rousskov <mark.simulacrum@gmail.com>2020-01-18 14:08:11 -0500
committerMark Rousskov <mark.simulacrum@gmail.com>2020-01-20 16:00:01 -0500
commit4bb68828de9c424c572a7ec11417660478ca7501 (patch)
tree7e25feca93fbb4b5ea690e11131378428a115f3f /src/test/rustdoc-ui/coverage/json.rs
parent48840618382eccb8a799320c8e5d08e3b52f4c42 (diff)
downloadrust-4bb68828de9c424c572a7ec11417660478ca7501.tar.gz
rust-4bb68828de9c424c572a7ec11417660478ca7501.zip
Read metadata from rmeta exclusively, if possible
When we're producing an rlib, we do not need anything more than an rmeta file
for each of our dependencies (this is indeed utilized by Cargo for pipelining).
Previously, we were still storing the paths of possible rlib/dylib crates, which
meant that they could still plausibly be accessed. With -Zbinary-dep-depinfo,
that meant that Cargo thought that rustc was using both the rlib and an (earlier
emitted) rmeta, and so needed a recompile, as the rlib may have finished writing
*after* compilation started (for more detail, see issue 68149).

This commit changes metadata loading to not store the filepaths of dylib/rlib if
we're going to end up creating an rlib only.
Diffstat (limited to 'src/test/rustdoc-ui/coverage/json.rs')
0 files changed, 0 insertions, 0 deletions