Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ authors = [

[workspace.dependencies]
anyhow = "1"
cargo_metadata = "0.18.1"
cargo_metadata = "0.22"
clap = { version = "4.5.26", features = ["derive"] }
futures-core = "0.3.19"
futures-lite = "1.12.0"
Expand Down
5 changes: 3 additions & 2 deletions test-programs/artifacts/build.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
use cargo_metadata::TargetKind;
use heck::ToShoutySnakeCase;
use std::env::var_os;
use std::path::PathBuf;
Expand All @@ -12,7 +13,7 @@ fn main() {
let test_programs_meta = meta
.packages
.iter()
.find(|p| p.name == "test-programs")
.find(|p| *p.name == "test-programs")
.expect("test-programs is in cargo metadata");
let test_programs_root = test_programs_meta.manifest_path.parent().unwrap();
println!(
Expand All @@ -37,7 +38,7 @@ fn main() {
for binary in test_programs_meta
.targets
.iter()
.filter(|t| t.kind == ["bin"])
.filter(|t| t.kind == [TargetKind::Bin])
{
let component_path = out_dir
.join("wasm32-wasip2")
Expand Down
Loading