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

Specify visibility #31509

Closed
jethrogb opened this Issue Feb 9, 2016 · 1 comment

Comments

Projects
None yet
2 participants
@jethrogb
Copy link
Contributor

jethrogb commented Feb 9, 2016

It would be nice to in addition to specifying linkage, specify visibility. I think a similar syntax could be used:

extern {
    #[visibility="protected"]
    static myvar: u32;
}
@steveklabnik

This comment has been minimized.

Copy link
Member

steveklabnik commented Sep 30, 2017

Big changes like this generally require RFCs; please pursue one if you still want this to be implemented!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.