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
And then in another mod try to refer to mod1.foo.[something], I get (with rustboot) "error: the name 'foo' can't be found in the module".
Maybe this is by design, but I'd argue that it'd be very good to have this supported (and that it's not hard to support). I ran into this trying to factor out the duplicated native modules in lib/linux_os.rs and lib/macosx_os.rs.
Supported in rustc; buggy in rustboot. Unfortunately I don't think we can easily fix it in rustboot. Need to stick with either redundant declarations or compiler-conditional crate components until after we bootstrap.
Activity
graydon commentedon Mar 12, 2011
Supported in rustc; buggy in rustboot. Unfortunately I don't think we can easily fix it in rustboot. Need to stick with either redundant declarations or compiler-conditional crate components until after we bootstrap.
Merge pull request rust-lang#268 from oli-obk/upstream
Auto merge of rust-lang#268 - kamalmarhubi:prlimit, r=alexcrichton
Merge pull request rust-lang#268 from goodmanjonathan/patch-1
Merge pull request rust-lang#268 from jrolli/merge-functions-pass
Fix types for codegen of intrinsic const (rust-lang#268)
Update Kani Metrics (rust-lang#268)
refactor: fix queue implementation (rust-lang#268)
Merge rust-lang#268
Auto merge of rust-lang#268 - Amanieu:fix_large_alloc, r=Amanieu