Skip to content

Commit b8e751a

Browse files
committed
enable proc_macro on wasm32-unknown-emscripten
1 parent c4425f9 commit b8e751a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ fn main() {
134134

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

0 commit comments

Comments
 (0)