Replace #[cfg(target_os = "win32")] with #[cfg(target_os = "windows")]
This commit is contained in:
parent
98332b1a06
commit
3dfd12967a
17 changed files with 72 additions and 37 deletions
|
|
@ -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")]
|
||||
|
|
|
|||
|
|
@ -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")]
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue