From 65aa65d49a13e19646c89b38e041eeed8213e8f7 Mon Sep 17 00:00:00 2001 From: Brian Smith Date: Sat, 14 Oct 2023 16:55:50 -0700 Subject: [PATCH] NFC: Don't treat wasm32 differently w.r.t. dead-code warnings. --- src/ec/keys.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/ec/keys.rs b/src/ec/keys.rs index 83917ed22..7831571f0 100644 --- a/src/ec/keys.rs +++ b/src/ec/keys.rs @@ -23,7 +23,6 @@ impl KeyPair { pub struct Seed { bytes: [u8; SEED_MAX_BYTES], curve: &'static Curve, - #[cfg_attr(target_arch = "wasm32", allow(dead_code))] pub(crate) cpu_features: cpu::Features, }