diff options
| author | Vadim Chugunov <vadimcn@gmail.com> | 2014-08-10 21:26:45 -0700 |
|---|---|---|
| committer | Vadim Chugunov <vadimcn@gmail.com> | 2014-08-12 00:13:43 -0700 |
| commit | 3dfd12967aed35b7788f7d3c7460b76b76e70b60 (patch) | |
| tree | 6c28e2873f65ce3bc29edacd4a7e3f2bf4eb5725 /src/test | |
| parent | 98332b1a06193c4f83fc2613f72273b50b77f2b3 (diff) | |
| download | rust-3dfd12967aed35b7788f7d3c7460b76b76e70b60.tar.gz rust-3dfd12967aed35b7788f7d3c7460b76b76e70b60.zip | |
Replace #[cfg(target_os = "win32")] with #[cfg(target_os = "windows")]
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/run-pass/dupe-first-attr.rc | 3 | ||||
| -rw-r--r-- | src/test/run-pass/intrinsic-alignment.rs | 3 | ||||
| -rw-r--r-- | src/test/run-pass/rec-align-u64.rs | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/src/test/run-pass/dupe-first-attr.rc b/src/test/run-pass/dupe-first-attr.rc index 76dedaba40f..cb99f90bea8 100644 --- a/src/test/run-pass/dupe-first-attr.rc +++ b/src/test/run-pass/dupe-first-attr.rc @@ -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")] diff --git a/src/test/run-pass/intrinsic-alignment.rs b/src/test/run-pass/intrinsic-alignment.rs index edf5068184a..f8110ad7975 100644 --- a/src/test/run-pass/intrinsic-alignment.rs +++ b/src/test/run-pass/intrinsic-alignment.rs @@ -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")] diff --git a/src/test/run-pass/rec-align-u64.rs b/src/test/run-pass/rec-align-u64.rs index 5c484dec445..f9a496feb6c 100644 --- a/src/test/run-pass/rec-align-u64.rs +++ b/src/test/run-pass/rec-align-u64.rs @@ -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 { |
