From 3d8cb08b7f067a5d57a7268d0b53131b527f4583 Mon Sep 17 00:00:00 2001 From: Tamir Duberstein Date: Sun, 1 Dec 2024 16:40:59 -0500 Subject: [PATCH] aya-build: add explicit irrefutable pattern This is required in Rust 1.80 at least. --- aya-build/Cargo.toml | 2 +- aya-build/src/lib.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/aya-build/Cargo.toml b/aya-build/Cargo.toml index 18573f98..d35d895c 100644 --- a/aya-build/Cargo.toml +++ b/aya-build/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aya-build" -version = "0.1.1" +version = "0.1.2" description = "Build-time support for aya projects" authors.workspace = true license.workspace = true diff --git a/aya-build/src/lib.rs b/aya-build/src/lib.rs index f84c5a24..c8e9996a 100644 --- a/aya-build/src/lib.rs +++ b/aya-build/src/lib.rs @@ -136,6 +136,7 @@ pub fn build_ebpf(packages: impl IntoIterator) -> Result<()> { match stderr.join().map_err(std::panic::resume_unwind) { Ok(()) => {} + Err(err) => match err {}, } for (name, binary) in executables {