Skip to content

Commit 2792d85

Browse files
committed
fix ~ 'musl' environment doesn't support utmpx
1 parent 217d835 commit 2792d85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/uucore/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ pub mod parse_time;
3838

3939
#[cfg(all(not(windows), feature = "mode"))]
4040
pub mod mode;
41-
#[cfg(all(unix, not(target_os = "fuchsia"), feature = "utmpx"))]
41+
#[cfg(all(unix, not(target_os = "fuchsia"), not(target_env="musl"), feature = "utmpx"))]
4242
pub mod utmpx;
4343
#[cfg(all(unix, feature = "entries"))]
4444
pub mod entries;

0 commit comments

Comments
 (0)