mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 19:47:45 +00:00
Remove some warnings on freebsd
This commit is contained in:
parent
b0becf0054
commit
2c3e401b0b
2 changed files with 4 additions and 1 deletions
|
@ -4,7 +4,7 @@ use crate::common::util::*;
|
|||
use filetime::FileTime;
|
||||
use rust_users::*;
|
||||
use std::os::unix::fs::PermissionsExt;
|
||||
#[cfg(not(windows))]
|
||||
#[cfg(not(any(windows, target_os = "freebsd")))]
|
||||
use std::process::Command;
|
||||
#[cfg(target_os = "linux")]
|
||||
use std::thread::sleep;
|
||||
|
@ -551,7 +551,9 @@ fn test_install_copy_then_compare_file_with_extra_mode() {
|
|||
}
|
||||
|
||||
const STRIP_TARGET_FILE: &str = "helloworld_installed";
|
||||
#[cfg(not(any(windows, target_os = "freebsd")))]
|
||||
const SYMBOL_DUMP_PROGRAM: &str = "objdump";
|
||||
#[cfg(not(any(windows, target_os = "freebsd")))]
|
||||
const STRIP_SOURCE_FILE_SYMBOL: &str = "main";
|
||||
|
||||
fn strip_source_file() -> &'static str {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue