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.
2 parents 6f40165 + 7be6983 commit fe7d2faCopy full SHA for fe7d2fa
build.rs
@@ -29,8 +29,7 @@ fn main() {
29
println!("cargo:rustc-check-cfg=cfg(wrap_proc_macro)");
30
}
31
32
- let docs_rs = env::var_os("DOCS_RS").is_some();
33
- let semver_exempt = cfg!(procmacro2_semver_exempt) || docs_rs;
+ let semver_exempt = cfg!(procmacro2_semver_exempt);
34
if semver_exempt {
35
// https://github.com/dtolnay/proc-macro2/issues/147
36
println!("cargo:rustc-cfg=procmacro2_semver_exempt");
0 commit comments