Look for strip settings in inherited profiles and global configs (#4645)

* Look for strip settings in inherited profiles and global configs

* fix clippy

* use cargo home env var if it exists

* fix cargo home config path

* small stylistic changes

---------

Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
This commit is contained in:
Evan AlmloffandJonathan Kelley authored and GitHub committed 2025-10-03 21:11:05 -07:00
1 parent c39cae6c57
commit c56bac04f4
4 files changed
+187 -5

No files matched your search

+4 -3
View File
@@ -96,9 +96,10 @@ impl Workspace {
let ignore = Self::workspace_gitignore(krates.workspace_root().as_std_path());
let cargo_toml =
cargo_toml::Manifest::from_path(krates.workspace_root().join("Cargo.toml"))
.context("Failed to load Cargo.toml")?;
let cargo_toml = crate::cargo_toml::load_manifest_from_path(
krates.workspace_root().join("Cargo.toml").as_std_path(),
)
.context("Failed to load Cargo.toml")?;
let android_tools = crate::build::get_android_tools();