Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 458c58f

Browse files
ChrisDentonJohnTitor
authored andcommittedApr 16, 2024
Remove linking the MSVC CRT
This is now done in std
1 parent 71c79d5 commit 458c58f

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)
Failed to load comments.