Skip to content

Commit

Permalink
Don't link to proc_macro on musl
Browse files Browse the repository at this point in the history
This is only necessary until rust-lang/rust#49219 hits stable.
  • Loading branch information
sfackler authored Dec 18, 2018
1 parent 53b2f46 commit 9e22ce2
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 @@ -39,7 +39,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.contains("musl") {
return false;
}

Expand Down

0 comments on commit 9e22ce2

Please sign in to comment.