diff --git a/Cargo.lock b/Cargo.lock index 5c2df138c..184e45b91 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2937,7 +2937,7 @@ dependencies = [ [[package]] name = "rattler-build" -version = "0.10.0" +version = "0.11.0" dependencies = [ "anyhow", "async-once-cell", diff --git a/Cargo.toml b/Cargo.toml index b95d2bc68..b2ee6fd6c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ members = ["rust-tests"] [package] name = "rattler-build" -version = "0.10.0" +version = "0.11.0" authors = ["Wolf Vollprecht "] homepage = "https://github.com/prefix-dev/rattler-build" edition = "2021" diff --git a/src/render/resolved_dependencies.rs b/src/render/resolved_dependencies.rs index 902f060ee..e9c64610c 100644 --- a/src/render/resolved_dependencies.rs +++ b/src/render/resolved_dependencies.rs @@ -756,7 +756,11 @@ async fn resolve_dependencies( } // log a table of the rendered run dependencies - tracing::info!("\nFinalized run dependencies:\n{}", run_specs); + if run_specs.depends.is_empty() && run_specs.constrains.is_empty() { + tracing::info!("\nFinalized run dependencies: this output has no run dependencies"); + } else { + tracing::info!("\nFinalized run dependencies:\n{}", run_specs); + } Ok(FinalizedDependencies { // build_env is empty now!