Skip to content

Commit

Permalink
Merge pull request #3657 from ChrisDenton/remove-msvc-crt
Browse files Browse the repository at this point in the history
Remove linking the MSVC CRT
  • Loading branch information
JohnTitor authored Apr 16, 2024
2 parents 71c79d5 + 458c58f commit 12fda3e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/windows/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {}
Expand Down

0 comments on commit 12fda3e

Please sign in to comment.