Skip to content
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

rustc: Encode the visibility of foreign items #16740

Merged
merged 1 commit into from
Aug 25, 2014

Commits on Aug 25, 2014

  1. 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 rust-lang#16725
    [breaking-change]
    alexcrichton committed Aug 25, 2014
    5 Configuration menu
    Copy the full SHA
    1c76d55 View commit details
    Browse the repository at this point in the history