mozilla/rust — Issue #1724: Add a way to conditionally compile things when a config item is _not_ present
Author: brson
Created: 2012-02-01 00:42:05+00:00
State: open
Labels: easy, feature, front

A number of times I have wanted to use one function in one configuration in another in all other configurations. There's just no way to express this currently. A simple way to implement it would be with a `#[notcfg(...)]` attribute, which would just do the opposite of '#[cfg(...)]'.