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

Module export #340

Merged
merged 5 commits into from
May 1, 2011
Merged

Module export #340

merged 5 commits into from
May 1, 2011

Conversation

brson
Copy link
Contributor

@brson brson commented Apr 25, 2011

This patch implements module export, at least for the most basic cases. Please look at it and see if I'm on the right track. There may be more work yet for tag variants and native modules, and it doesn't do anything about crate exports.

The implementation looks inefficient since it loops over the view_items every time name lookup encounters a module, but it doesn't seem to have much impact on stage1 build times so I'm not that concerned.

brson added 5 commits May 1, 2011 16:57
An unexported foo.baz can't be resolved from inside foo when called as foo.baz
instead of just baz. This behavior may want to change eventually.
It's not actually involved in the fold so it can just be passed between the
functions that need it.
@brson brson merged commit a5ccead into rust-lang:master May 1, 2011
oli-obk added a commit to oli-obk/rust that referenced this pull request Sep 19, 2017
Remove `#[linkage(foo)]` statics from core miri
keeperofdakeys pushed a commit to keeperofdakeys/rust that referenced this pull request Dec 12, 2017
Aaron1011 pushed a commit to Aaron1011/rust that referenced this pull request Oct 26, 2020
ZuseZ4 pushed a commit to EnzymeAD/rust that referenced this pull request Mar 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant