From 400dc2e30385ba16eb787e0356e3f34d5aa40d35 Mon Sep 17 00:00:00 2001 From: Stephen Belanger Date: Sat, 14 Jun 2025 15:46:36 +0800 Subject: [PATCH] test: add missing cfg gate to anyhow exception test --- src/exception.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/exception.rs b/src/exception.rs index 23b2a0786..482c80825 100644 --- a/src/exception.rs +++ b/src/exception.rs @@ -342,6 +342,7 @@ mod tests { }); } + #[cfg(feature = "anyhow")] #[test] fn test_from_anyhow() { Embed::run(|| {