Skip to content

Commit 22544fe

Browse files
authored
Merge pull request #386 from rickwebiii/rweber/emscripten
enable proc_macro on wasm32-unknown-emscripten
2 parents c4425f9 + b8e751a commit 22544fe

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)