On Mar 2, 2013, at 4:46 AM, Niko Matsakis wrote:

> You need to include "extern mod std;" at the top of your program.  This will 
> link in the standard library (as opposed to the core lib).  I think that in 
> modern versions of the compiler (i.e., the trunk) this is automatic, or at 
> least has a better error message, but I am not sure.

As an every-every-day user of unit testing, I can confirm that in more recent 
versions of Rust (e.g. the upcoming 0.6 and the github "incoming" branch), this 
"extern mod std;" is not required.

John Clements

_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to