Skip to content

Commit 466b246

Browse files
authored
Merge pull request #6 from oli-obk/dependencies
only print that we are building dependencies if we are actually doing that
2 parents 1c377d7 + b855795 commit 466b246

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

src/dependencies.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ pub fn build_dependencies(config: &Config) -> Result<Dependencies> {
2222
Some(path) => path,
2323
None => return Ok(Default::default()),
2424
};
25+
eprintln!(" Building test dependencies...");
2526
let (program, args, envs): (&Path, &[_], &[_]) = match &config.dependency_builder {
2627
Some(db) => (&db.program, &db.args, &db.envs),
2728
None => (Path::new("cargo"), &[], &[]),

src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ pub fn run_tests(mut config: Config) -> Result<()> {
8181
// Get the triple with which to run the tests
8282
let target = config.target.clone().unwrap_or_else(|| config.get_host());
8383

84-
eprintln!(" Building test dependencies...");
8584
let dependencies = build_dependencies(&config)?;
8685
for (name, dependency) in dependencies.dependencies {
8786
config.args.push("--extern".into());

0 commit comments

Comments
 (0)