Skip to content

Commit fe7d2fa

Browse files
authored
Merge pull request #511 from dtolnay/docsrs
Revert "Work around doc build failure due to docs.rs flags change"
2 parents 6f40165 + 7be6983 commit fe7d2fa

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

build.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ fn main() {
2929
println!("cargo:rustc-check-cfg=cfg(wrap_proc_macro)");
3030
}
3131

32-
let docs_rs = env::var_os("DOCS_RS").is_some();
33-
let semver_exempt = cfg!(procmacro2_semver_exempt) || docs_rs;
32+
let semver_exempt = cfg!(procmacro2_semver_exempt);
3433
if semver_exempt {
3534
// https://github.com/dtolnay/proc-macro2/issues/147
3635
println!("cargo:rustc-cfg=procmacro2_semver_exempt");

0 commit comments

Comments
 (0)