about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-08-24 17:05:47 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-08-25 05:01:51 -0700
commit1c76d559c37bf313a31e260b986255cc45912014 (patch)
tree0e4226b93d88621a942dd1377d15298b7c508725 /src/rustllvm/PassWrapper.cpp
parent17f79af31c4d413352a967b6cfe9ba7d70f66ff7 (diff)
downloadrust-1c76d559c37bf313a31e260b986255cc45912014.tar.gz
rust-1c76d559c37bf313a31e260b986255cc45912014.zip
rustc: Encode the visibility of foreign items
The privacy pass of the compiler was previously not taking into account the
privacy of foreign items, or bindings to external functions. This commit fixes
this oversight by encoding the visibility of foreign items into the metadata for
each crate.

Any code relying on this will start to fail to  compile and the bindings must be
marked with `pub` to indicate that they can be used externally.

Closes #16725
[breaking-change]
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions