Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ed0492a

Browse filesBrowse files
cakebakersylvestre
authored andcommitted
uptime: fix "unused import" warnings with musl
1 parent 64d308d commit ed0492a
Copy full SHA for ed0492a

File tree

Expand file treeCollapse file tree

1 file changed

+5
-5
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-5
lines changed

‎tests/by-util/test_uptime.rs

Copy file name to clipboardExpand all lines: tests/by-util/test_uptime.rs
+5-5Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,16 @@ use uutests::new_ucmd;
1212
use uutests::util::TestScenario;
1313
use uutests::util_name;
1414

15-
#[cfg(not(any(target_os = "macos", target_os = "openbsd")))]
15+
#[cfg(not(any(target_os = "macos", target_os = "openbsd", target_env = "musl")))]
1616
use bincode::{config, serde::encode_to_vec};
1717
use regex::Regex;
18-
#[cfg(not(any(target_os = "macos", target_os = "openbsd")))]
18+
#[cfg(not(any(target_os = "macos", target_os = "openbsd", target_env = "musl")))]
1919
use serde::Serialize;
20-
#[cfg(not(any(target_os = "macos", target_os = "openbsd")))]
20+
#[cfg(not(any(target_os = "macos", target_os = "openbsd", target_env = "musl")))]
2121
use serde_big_array::BigArray;
22-
#[cfg(not(any(target_os = "macos", target_os = "openbsd")))]
22+
#[cfg(not(any(target_os = "macos", target_os = "openbsd", target_env = "musl")))]
2323
use std::fs::File;
24-
#[cfg(not(any(target_os = "macos", target_os = "openbsd")))]
24+
#[cfg(not(any(target_os = "macos", target_os = "openbsd", target_env = "musl")))]
2525
use std::{io::Write, path::PathBuf};
2626

2727
#[test]

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.