chore: bump cargo_metadata from 0.12.0 to 0.13.1 (#17999)
* chore: bump cargo_metadata from 0.12.0 to 0.13.1 Bumps [cargo_metadata](https://github.com/oli-obk/cargo_metadata) from 0.12.0 to 0.13.1. - [Release notes](https://github.com/oli-obk/cargo_metadata/releases) - [Commits](https://github.com/oli-obk/cargo_metadata/commits) --- updated-dependencies: - dependency-name: cargo_metadata dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Accommodate type change Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Tyera Eulberg <tyera@solana.com>
This commit is contained in:
@@ -11,7 +11,7 @@ publish = false
|
||||
|
||||
[dependencies]
|
||||
clap = "2.33.3"
|
||||
cargo_metadata = "0.12.0"
|
||||
cargo_metadata = "0.13.1"
|
||||
|
||||
[[bin]]
|
||||
name = "cargo-test-bpf"
|
||||
|
@@ -78,7 +78,7 @@ fn test_bpf_package(config: &Config, target_directory: &Path, package: &cargo_me
|
||||
.cloned()
|
||||
.unwrap_or_else(|| format!("{}", target_directory.join("deploy").display()));
|
||||
|
||||
let manifest_path = format!("{}", package.manifest_path.display());
|
||||
let manifest_path = format!("{}", package.manifest_path);
|
||||
let mut cargo_args = vec!["--manifest-path", &manifest_path];
|
||||
if config.no_default_features {
|
||||
cargo_args.push("--no-default-features");
|
||||
@@ -143,7 +143,7 @@ fn test_bpf(config: Config, manifest_path: Option<PathBuf>) {
|
||||
|
||||
if let Some(root_package) = metadata.root_package() {
|
||||
if !config.workspace {
|
||||
test_bpf_package(&config, &metadata.target_directory, root_package);
|
||||
test_bpf_package(&config, &metadata.target_directory.as_ref(), root_package);
|
||||
return;
|
||||
}
|
||||
}
|
||||
@@ -164,7 +164,7 @@ fn test_bpf(config: Config, manifest_path: Option<PathBuf>) {
|
||||
.collect::<Vec<_>>();
|
||||
|
||||
for package in all_bpf_packages {
|
||||
test_bpf_package(&config, &metadata.target_directory, package);
|
||||
test_bpf_package(&config, &metadata.target_directory.as_ref(), package);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user