mozilla/rust — pull request #8188 by huonw (2013-08-01 13:07:23+00:00)
Title: syntax: implement cfg!() which evaluates to true/false where #[cfg] woul...

...d keep/remove.

Example:

if cfg!(test) {
calculation_to_run_only_when_testing();
}

Fixes #8130.