Skip to content

Commit 83da244

Browse files
committed
Remove linking the MSVC CRT
This is now done in std
1 parent a0f5b4b commit 83da244

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/windows/mod.rs

-6
Original file line numberDiff line numberDiff line change
@@ -254,12 +254,6 @@ pub const SIG_GET: ::sighandler_t = 2;
254254
pub const SIG_SGE: ::sighandler_t = 3;
255255
pub const SIG_ACK: ::sighandler_t = 4;
256256

257-
// inline comment below appeases style checker
258-
#[cfg(all(target_env = "msvc", feature = "rustc-dep-of-std"))] // " if "
259-
#[link(name = "msvcrt", cfg(not(target_feature = "crt-static")))]
260-
#[link(name = "libcmt", cfg(target_feature = "crt-static"))]
261-
extern "C" {}
262-
263257
#[cfg_attr(feature = "extra_traits", derive(Debug))]
264258
pub enum FILE {}
265259
impl ::Copy for FILE {}

0 commit comments

Comments
 (0)