[rust-dev] crate_type = "lib" and testing
banderson at mozilla.com
Wed Apr 11 13:47:41 PDT 2012
On 04/10/2012 08:28 PM, Niko Matsakis wrote:
> the reason is that there is no need for the `mod test` directive in
> test.rc. This effectively creates loads the `test.rs` file twice, once
> in the root namespace and once as the module `test`.
There's a bug open to change this behavior since it's a frequent
source of confusion.
More information about the Rust-dev