Skip to content

Commit

Permalink
Hide test report on non-unix
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark-Simulacrum committed Aug 31, 2024
1 parent 1416cf3 commit 07ac170
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/bin/test-report.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ use failure::Fallible;
use mime::{self, Mime};
use std::{borrow::Cow, fmt, path::Path};

#[cfg(not(unix))]
fn main() {
eprintln!("Not implemented!");
}

#[cfg(unix)]
fn main() {
let mut env = env_logger::Builder::new();
env.filter_module("test_report", log::LevelFilter::Info);
Expand Down

0 comments on commit 07ac170

Please sign in to comment.