diff options
Diffstat (limited to 'libc/src/windows.rs')
-rw-r--r-- | libc/src/windows.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/src/windows.rs b/libc/src/windows.rs index 385b667..bdb0e02 100644 --- a/libc/src/windows.rs +++ b/libc/src/windows.rs @@ -158,7 +158,8 @@ pub const ENOTEMPTY: ::c_int = 41; pub const EILSEQ: ::c_int = 42; pub const STRUNCATE: ::c_int = 80; -#[cfg(all(target_env = "msvc", stdbuild))] // " if " -- appease style checker +// inline comment below appeases style checker +#[cfg(all(target_env = "msvc", feature = "stdbuild"))] // " if " #[link(name = "msvcrt", cfg(not(target_feature = "crt-static")))] #[link(name = "libcmt", cfg(target_feature = "crt-static"))] extern {} |