about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-10-10 06:06:24 -0700
committerbors <bors@rust-lang.org>2013-10-10 06:06:24 -0700
commit8015f9c27ec342dbf0b28c9c0c4769d8b3bcfc9f (patch)
tree70de1d8ad3a4d6ddc671f92bbd3a1af5b789542f /src/rustllvm/RustWrapper.cpp
parent0ede2ea4e2e9384ac5bd614012d85ed213873dab (diff)
parentcaf7b678dd2f07918b47120aa73a1bca51d12da1 (diff)
downloadrust-8015f9c27ec342dbf0b28c9c0c4769d8b3bcfc9f.tar.gz
rust-8015f9c27ec342dbf0b28c9c0c4769d8b3bcfc9f.zip
auto merge of #9791 : alexcrichton/rust/reachable, r=catamorphism
This fixes a bug in which the visibility rules were approximated by
reachability, but forgot to cover the case where a 'pub use' reexports a private
item. This fixes the commit by instead using the results of the privacy pass of
the compiler to create the initial working set of the reachability pass.

This may have the side effect of increasing the size of metadata, but it's
difficult to avoid for correctness purposes sadly.

Closes #9790
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions