From 0538513834a9969b052f2bf492fe9e1fde4bb114 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Thu, 25 May 2023 14:26:12 -0700 Subject: [PATCH] Extern crate proc_macro available on all wasm targets --- src/lib.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 135a0bc..79bca17 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -102,10 +102,7 @@ clippy::wrong_self_convention, )] -#[cfg(all( - not(all(target_arch = "wasm32", target_os = "unknown")), - feature = "proc-macro" -))] +#[cfg(feature = "proc-macro")] extern crate proc_macro; mod ext;