You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
@dtolnay it looks like this error started occurring after the switch to rustwide (#407). It's probably due to rust-lang/cargo#4423 - as you can see in the build logs --target is set in the latest (broken) build, but not in the old one.
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).
The text was updated successfully, but these errors were encountered: