Skip to content

Commit 0b32aaa

Browse files
authored
ParseError should be linux only
1 parent 88dbe19 commit 0b32aaa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/uucore/src/lib/features/parser/parse_size.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ use crate::display::Quotable;
1515
/// Error arising from trying to compute system memory.
1616
enum SystemError {
1717
IOError,
18+
#[cfg(target_os = "linux")]
1819
ParseError,
1920
#[cfg(not(target_os = "linux"))]
2021
NotFound,

0 commit comments

Comments
 (0)