From ba8d3148a6e95ea0e9e305eb262e98e53d383e8b Mon Sep 17 00:00:00 2001 From: Edoardo Marangoni Date: Wed, 22 May 2024 18:58:41 +0200 Subject: [PATCH] fix(argus): bump webc version and make linter happy --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- tests/wasmer-argus/src/argus/mod.rs | 6 ++---- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5be4f08b765..96e3127331d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -7275,9 +7275,9 @@ dependencies = [ [[package]] name = "webc" -version = "6.0.0-alpha8" +version = "6.0.0-alpha9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbf53893f8df356f1305446c1bc59c4082cb592f39ffcae0a2f10bd8ed100bb9" +checksum = "9e1b4e8dd987046eede4348d660404ff990412631b7d493f9e547adcf2862cd5" dependencies = [ "anyhow", "base64 0.21.7", diff --git a/Cargo.toml b/Cargo.toml index 654bacc6ee0..b59967b3eb5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -92,7 +92,7 @@ wasmer-config = { path = "./lib/config" } wasmer-wasix = { path = "./lib/wasix" } # Wasmer-owned crates -webc = { version = "6.0.0-alpha8", default-features = false, features = ["package"] } +webc = { version = "6.0.0-alpha9", default-features = false, features = ["package"] } edge-schema = { version = "=0.1.0" } shared-buffer = "0.1.4" diff --git a/tests/wasmer-argus/src/argus/mod.rs b/tests/wasmer-argus/src/argus/mod.rs index 1a055cb8b7b..63260730592 100644 --- a/tests/wasmer-argus/src/argus/mod.rs +++ b/tests/wasmer-argus/src/argus/mod.rs @@ -75,7 +75,7 @@ impl Argus { pool.spawn(async move { let _permit = permit; - let ret = match Argus::test(count, c, &pkg, bar, successes_sx, failures_sx).await { + match Argus::test(count, c, &pkg, bar, successes_sx, failures_sx).await { Err(e) => { failures.lock().await.add_assign(1); Err(e) @@ -88,9 +88,7 @@ impl Argus { failures.lock().await.add_assign(1); Ok(()) } - }; - - ret + } }); count += 1;