Description
Crate name: proc-macro2
Old working build: https://docs.rs/crate/proc-macro2/1.0.4/builds/186665
Build failure link: https://docs.rs/crate/proc-macro2/1.0.6/builds/192719
Additional details:
With the switch to rustwide, it seems that --cfg
entries from our [package.metadata.docs.rs]
are no longer seen by our build script (but still present when building the crate), which causes the build to fail.
Notice how in the working 1.0.4 build the rustc invocation that builds build.rs has --cfg procmacro2_semver_exempt
. From tracing through the types in the failing 1.0.6 build, I believe that failure could only happen if --cfg procmacro2_semver_exempt
is set for the lib.rs rustc invocation but not for the build.rs rustc invocation.
Relevant part of Cargo.toml: https://github.com/alexcrichton/proc-macro2/blob/1.0.6/Cargo.toml#L18-L20
Diff between working build current failing build: dtolnay/proc-macro2@1.0.4...1.0.6
(no relevant changes on our end).