rustc: Enable #[cfg(windows)] and #[cfg(unix)]

This commit is contained in:
Brian Anderson 2012-06-06 22:00:42 -07:00
parent eed3a36511
commit 469ff08e64
2 changed files with 8 additions and 0 deletions

View File

@ -49,6 +49,7 @@ fn default_configuration(sess: session, argv0: str, input: input) ->
};
ret [ // Target bindings.
attr::mk_word_item(os::family()),
mk("target_os", os::sysname()),
mk("target_family", os::family()),
mk("target_arch", arch),

View File

@ -0,0 +1,7 @@
#[cfg(windows)]
fn main() {
}
#[cfg(unix)]
fn main() {
}