1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37:44 +00:00

Removes unused macros from windows & macos builds

This commit is contained in:
Tyler 2021-08-04 12:47:03 -07:00
parent 67059db086
commit 0864234e3d
2 changed files with 3 additions and 0 deletions

View file

@ -2,6 +2,7 @@
use super::*;
#[cfg(unix)]
macro_rules! make_block_test (
( $test_id:ident, $test_name:expr, $src:expr, $block:expr, $spec:expr ) =>
{
@ -30,6 +31,7 @@ macro_rules! make_block_test (
};
);
#[cfg(unix)]
macro_rules! make_unblock_test (
( $test_id:ident, $test_name:expr, $src:expr, $unblock:expr, $spec:expr ) =>
{

View file

@ -34,6 +34,7 @@ macro_rules! assert_fixture_exists {
}};
}
#[cfg(target_os = "linux")]
macro_rules! assert_fixture_not_exists {
($fname:expr) => {{
let fpath = PathBuf::from(format!("./fixtures/dd/{}", $fname));