Skip to content

Commit

Permalink
Remove not needed macro
Browse files Browse the repository at this point in the history
Signed-off-by: Xuanwo <github@xuanwo.io>
  • Loading branch information
Xuanwo committed Jan 16, 2023
1 parent 487ea18 commit 9719cba
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
2 changes: 1 addition & 1 deletion tests/dist.rs
Expand Up @@ -25,7 +25,7 @@ mod harness;
fn basic_compile(tmpdir: &Path, sccache_cfg_path: &Path, sccache_cached_cfg_path: &Path) {
let envs: Vec<(_, &OsStr)> = vec![
("RUST_BACKTRACE", "1".as_ref()),
("SCCACHE_LOG", "sccache=trace".as_ref()),
("SCCACHE_LOG", "trace".as_ref()),
("SCCACHE_CONF", sccache_cfg_path.as_ref()),
("SCCACHE_CACHED_CONF", sccache_cached_cfg_path.as_ref()),
];
Expand Down
10 changes: 0 additions & 10 deletions tests/harness/mod.rs
Expand Up @@ -25,16 +25,6 @@ use predicates::prelude::*;
use serde::Serialize;
use uuid::Uuid;

#[cfg(feature = "dist-server")]
macro_rules! matches {
($expression:expr, $($pattern:tt)+) => {
match $expression {
$($pattern)+ => true,
_ => false
}
}
}

const CONTAINER_NAME_PREFIX: &str = "sccache_dist_test";
const DIST_IMAGE: &str = "sccache_dist_test_image";
const DIST_DOCKERFILE: &str = include_str!("Dockerfile.sccache-dist");
Expand Down

0 comments on commit 9719cba

Please sign in to comment.