We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
proc_macro
1 parent 5746c2d commit f3d1b2cCopy full SHA for f3d1b2c
build.rs
@@ -14,6 +14,12 @@ fn maybe_enable_use_proc_macro(target: &str) {
14
return
15
}
16
17
+ // There are currently no musl builds of the compiler, so proc_macro is
18
+ // always missing, so disable this feature.
19
+ if target.contains("-musl") {
20
+ return
21
+ }
22
+
23
// Otherwise, only enable it if our feature is actually enabled.
24
if cfg!(feature = "proc-macro") {
25
println!("cargo:rustc-cfg=use_proc_macro");
0 commit comments