You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As part of #2176 I removed directory modules from the language. As a result, crates make heavy use of #[path] to create directory structure.
We probably do want to have some directory convention that rustc understands.
Here's one idea: the mod foo; statement continues to be the only way to load external modules. The parser looks for foo.rs and foo/mod.rs. If either exists then it loads it, otherwise error.
This assumes that we like the mod.rs convention. I haven't decided yet.
Activity
nikomatsakis commentedon Mar 24, 2013
I believe we agreed in a meeting to stick with the
mod.rsconvention(which is also compatible with graydon's proposed rustpkg conventions)
nikomatsakis commentedon Mar 24, 2013
Not critical for 0.6; removing milestone
brson commentedon Apr 16, 2013
Additional mailing list discussion https://mail.mozilla.org/pipermail/rust-dev/2013-February/003204.html
brson commentedon Apr 16, 2013
I would like to nominate this for a milestone. It is important for usability.
Let's also remove all the redundant uses of
#[path].brson commentedon Jul 24, 2013
Done
Merge pull request rust-lang#4116 from RalfJung/merge-conflict
Merge rust-lang#4116