Skip to content

Commit 9e22ce2

Browse files
authored
Don't link to proc_macro on musl
This is only necessary until rust-lang/rust#49219 hits stable.
1 parent 53b2f46 commit 9e22ce2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ fn main() {
3939

4040
fn enable_use_proc_macro(target: &str) -> bool {
4141
// wasm targets don't have the `proc_macro` crate, disable this feature.
42-
if target.contains("wasm32") {
42+
if target.contains("wasm32") || target.contains("musl") {
4343
return false;
4444
}
4545

0 commit comments

Comments
 (0)