-
Notifications
You must be signed in to change notification settings - Fork 13.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Foreign function visible outside of crate. #16725
Labels
A-visibility
Area: Visibility / privacy
Comments
Nominating, seems bad! |
alexcrichton
added a commit
to alexcrichton/rust
that referenced
this issue
Aug 25, 2014
bors
added a commit
that referenced
this issue
Aug 25, 2014
alexcrichton
added a commit
to alexcrichton/rust
that referenced
this issue
Aug 25, 2014
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 rust-lang#16725 [breaking-change]
bors
added a commit
that referenced
this issue
Aug 25, 2014
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
$ rustc --version
rustc 0.12.0-pre-nightly (75396b2 2014-08-22 23:55:50 +0000)
The text was updated successfully, but these errors were encountered: