From 458c58f409fda51d3a8fd6705f08d6eda9b0f8b4 Mon Sep 17 00:00:00 2001 From: Chris Denton Date: Sun, 14 Apr 2024 16:04:22 +0000 Subject: [PATCH] Remove linking the MSVC CRT This is now done in std --- src/windows/mod.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/windows/mod.rs b/src/windows/mod.rs index a12123ef73db0..7ac9e955f9717 100644 --- a/src/windows/mod.rs +++ b/src/windows/mod.rs @@ -254,12 +254,6 @@ pub const SIG_GET: ::sighandler_t = 2; pub const SIG_SGE: ::sighandler_t = 3; pub const SIG_ACK: ::sighandler_t = 4; -// inline comment below appeases style checker -#[cfg(all(target_env = "msvc", feature = "rustc-dep-of-std"))] // " if " -#[link(name = "msvcrt", cfg(not(target_feature = "crt-static")))] -#[link(name = "libcmt", cfg(target_feature = "crt-static"))] -extern "C" {} - #[cfg_attr(feature = "extra_traits", derive(Debug))] pub enum FILE {} impl ::Copy for FILE {}