Replace #[cfg(target_os = "win32")] with #[cfg(target_os = "windows")]

This commit is contained in:
Vadim Chugunov 2014-08-10 21:26:45 -07:00
parent 98332b1a06
commit 3dfd12967a
17 changed files with 72 additions and 37 deletions

View file

@ -17,7 +17,8 @@ mod hello;
#[cfg(target_os = "macos")]
mod hello;
#[cfg(target_os = "win32")]
#[cfg(target_os = "windows")]
#[cfg(stage0, target_os = "win32")] // NOTE: Remove after snapshot
mod hello;
#[cfg(target_os = "freebsd")]

View file

@ -42,7 +42,8 @@ mod m {
}
}
#[cfg(target_os = "win32")]
#[cfg(target_os = "windows")]
#[cfg(stage0, target_os = "win32")] // NOTE: Remove after snapshot
mod m {
#[main]
#[cfg(target_arch = "x86")]

View file

@ -55,7 +55,8 @@ mod m {
}
}
#[cfg(target_os = "win32")]
#[cfg(target_os = "windows")]
#[cfg(stage0, target_os = "win32")] // NOTE: Remove after snapshot
mod m {
#[cfg(target_arch = "x86")]
pub mod m {