Skip to content

Commit

Permalink
Merge pull request #254 from dtolnay/wasm
Browse files Browse the repository at this point in the history
Extern crate proc_macro available on all wasm targets
  • Loading branch information
dtolnay authored May 25, 2023
2 parents a312270 + 0538513 commit 8c85183
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8c85183

Please sign in to comment.