Skip to content

Commit 0538513

Browse files
committed
Extern crate proc_macro available on all wasm targets
1 parent a312270 commit 0538513

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/lib.rs

+1-4
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,7 @@
102102
clippy::wrong_self_convention,
103103
)]
104104

105-
#[cfg(all(
106-
not(all(target_arch = "wasm32", target_os = "unknown")),
107-
feature = "proc-macro"
108-
))]
105+
#[cfg(feature = "proc-macro")]
109106
extern crate proc_macro;
110107

111108
mod ext;

0 commit comments

Comments
 (0)