Skip to content

Commit

Permalink
enable proc_macro on wasm32-unknown-emscripten
Browse files Browse the repository at this point in the history
  • Loading branch information
rickwebiii committed May 25, 2023
1 parent c4425f9 commit b8e751a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ fn main() {

fn enable_use_proc_macro(target: &str) -> bool {
// wasm targets don't have the `proc_macro` crate, disable this feature.
if target.contains("wasm32") {
if target.contains("wasm32") && target != "wasm32-unknown-emscripten" {
return false;
}

Expand Down

0 comments on commit b8e751a

Please sign in to comment.