From ce05d6d6c04a029ef2fcfa68ad25be8698789bdb Mon Sep 17 00:00:00 2001 From: Luke Street Date: Wed, 4 Sep 2024 23:36:41 -0600 Subject: [PATCH] Version v2.0.0-beta.6 --- Cargo.lock | 6 +++--- objdiff-cli/Cargo.toml | 2 +- objdiff-cli/src/cmd/report.rs | 7 ++++--- objdiff-core/Cargo.toml | 2 +- objdiff-gui/Cargo.toml | 2 +- 5 files changed, 10 insertions(+), 9 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 360d0a7..176ac64 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2835,7 +2835,7 @@ dependencies = [ [[package]] name = "objdiff-cli" -version = "2.0.0-beta.5" +version = "2.0.0-beta.6" dependencies = [ "anyhow", "argp", @@ -2856,7 +2856,7 @@ dependencies = [ [[package]] name = "objdiff-core" -version = "2.0.0-beta.5" +version = "2.0.0-beta.6" dependencies = [ "anyhow", "arm-attr", @@ -2895,7 +2895,7 @@ dependencies = [ [[package]] name = "objdiff-gui" -version = "2.0.0-beta.5" +version = "2.0.0-beta.6" dependencies = [ "anyhow", "bytes", diff --git a/objdiff-cli/Cargo.toml b/objdiff-cli/Cargo.toml index 0067fa4..a9eb92e 100644 --- a/objdiff-cli/Cargo.toml +++ b/objdiff-cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "objdiff-cli" -version = "2.0.0-beta.5" +version = "2.0.0-beta.6" edition = "2021" rust-version = "1.70" authors = ["Luke Street "] diff --git a/objdiff-cli/src/cmd/report.rs b/objdiff-cli/src/cmd/report.rs index 0c7b563..4184ab3 100644 --- a/objdiff-cli/src/cmd/report.rs +++ b/objdiff-cli/src/cmd/report.rs @@ -87,9 +87,10 @@ fn generate(args: GenerateArgs) -> Result<()> { let project_dir = args.project.as_deref().unwrap_or_else(|| Path::new(".")); info!("Loading project {}", project_dir.display()); - let config = objdiff_core::config::try_project_config(project_dir); - let Some((Ok(mut project), _)) = config else { - bail!("No project configuration found"); + let mut project = match objdiff_core::config::try_project_config(project_dir) { + Some((Ok(config), _)) => config, + Some((Err(err), _)) => bail!("Failed to load project configuration: {}", err), + None => bail!("No project configuration found"), }; info!( "Generating report for {} units (using {} threads)", diff --git a/objdiff-core/Cargo.toml b/objdiff-core/Cargo.toml index eed56ca..10ef03a 100644 --- a/objdiff-core/Cargo.toml +++ b/objdiff-core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "objdiff-core" -version = "2.0.0-beta.5" +version = "2.0.0-beta.6" edition = "2021" rust-version = "1.70" authors = ["Luke Street "] diff --git a/objdiff-gui/Cargo.toml b/objdiff-gui/Cargo.toml index e6e62f9..89e7473 100644 --- a/objdiff-gui/Cargo.toml +++ b/objdiff-gui/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "objdiff-gui" -version = "2.0.0-beta.5" +version = "2.0.0-beta.6" edition = "2021" rust-version = "1.70" authors = ["Luke Street "]