1
Fork 0
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:
Sylvestre Ledru 2021-08-28 15:06:44 +02:00
parent b0becf0054
commit 2c3e401b0b
2 changed files with 4 additions and 1 deletions

View file

@ -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 {