Patrick Walton
|
02c1d2ff52
|
test: Make all the run-pass tests use pub fn main
|
2014-01-03 15:30:54 -08:00 |
|
Alex Crichton
|
daf5f5a4d1
|
Drop the '2' suffix from logging macros
Who doesn't like a massive renaming?
|
2013-10-22 08:09:56 -07:00 |
|
Alex Crichton
|
630082ca89
|
rpass: Remove usage of fmt!
|
2013-09-30 23:21:19 -07:00 |
|
Huon Wilson
|
e995d9935b
|
syntax: implement cfg!() which evaluates to true/false where #[cfg] would keep/remove.
Example:
if cfg!(test) {
calculation_to_run_only_when_testing();
}
|
2013-08-01 23:03:03 +10:00 |
|