Skip to content

Commit 8cad56c

Browse files
committed
refactor
- turn comments into doc-comments for nicer display in editors.
1 parent 5cccbe7 commit 8cad56c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

build.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -238,11 +238,11 @@ fn zlib_installed(cfg: &mut cc::Build) -> bool {
238238
false
239239
}
240240

241-
// The environment variable `LIBZ_SYS_STATIC` is first checked for a value of `0` (false) or `1` (true),
242-
// before considering the `static` feature when no explicit ENV value was detected.
243-
// When `libz-sys` is a transitive dependency from a crate that forces static linking via the `static` feature,
244-
// this enables the build environment to revert that preference via `LIBZ_SYS_STATIC=0`.
245-
// The default is otherwise `false`.
241+
/// The environment variable `LIBZ_SYS_STATIC` is first checked for a value of `0` (false) or `1` (true),
242+
/// before considering the `static` feature when no explicit ENV value was detected.
243+
/// When `libz-sys` is a transitive dependency from a crate that forces static linking via the `static` feature,
244+
/// this enables the build environment to revert that preference via `LIBZ_SYS_STATIC=0`.
245+
/// The default is otherwise `false`.
246246
fn should_link_static() -> bool {
247247
let has_static_env: Option<&'static str> = option_env!("LIBZ_SYS_STATIC");
248248
let has_static_cfg = cfg!(feature = "static");

0 commit comments

Comments
 (0)