summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Denton <chris@chrisdenton.dev>2023-03-31 00:07:39 +0100
committerChris Denton <chris@chrisdenton.dev>2023-03-31 00:07:39 +0100
commitfac360ea62b3a60cd54a763a13c6992f5bc29633 (patch)
tree0f3b9e51e29052d6afbbca4ee3cc94ced6aac49b
parenta340cf7c613122ac14696d7ee5b1bb665e642272 (diff)
downloadrust-libc-msvc-crt-link.tar.gz
Appease the style checkermsvc-crt-link
-rw-r--r--src/windows/mod.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/windows/mod.rs b/src/windows/mod.rs
index fb4502b70d..930f4218ff 100644
--- a/src/windows/mod.rs
+++ b/src/windows/mod.rs
@@ -266,7 +266,9 @@ pub const SIG_ACK: ::sighandler_t = 4;
// * `nocrt`: do not link the crt. This makes other options be no-ops.
// * `debug`: use the debug crt libraries
// * `dynamic-ucrt`: link the ucrt dynamically even if using the static C runtime
-#[cfg(all(target_env = "msvc", feature = "rustc-dep-of-std"))]
+//
+// note: inline comment below appeases style checker
+#[cfg(all(target_env = "msvc", feature = "rustc-dep-of-std"))] // " if "
#[link(
// MSVC dynamic crt (release)
name = "msvcrt",