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 857acc5 + 42d3019 commit d82df61Copy full SHA for d82df61
.travis.yml
@@ -27,6 +27,7 @@ before_script:
27
28
script:
29
- cargo test
30
+ - RUSTFLAGS='--cfg procmacro2_semver_exempt' cargo test
31
32
notifications:
33
email:
build.rs
@@ -22,7 +22,7 @@ fn main() {
22
println!("cargo:rustc-cfg=use_proc_macro");
23
24
// Rust 1.29 stabilized the necessary APIs in the `proc_macro` crate
25
- if minor >= 29 || cfg!(feature = "nightly") {
+ if (minor >= 29 && !cfg!(procmacro2_semver_exempt)) || cfg!(feature = "nightly") {
26
println!("cargo:rustc-cfg=wrap_proc_macro");
if cfg!(procmacro2_semver_exempt) {
0 commit comments