aboutsummaryrefslogtreecommitdiff
path: root/test-suite/build.rs
blob: ca63946ce7d7b3582ed0ab1bf3a6269abd52de2d (plain)
1
2
3
4
5
6
7
8
extern crate rustc_version;
use rustc_version::{version, Version};

fn main() {
    if version().unwrap() >= Version::parse("1.20.0").unwrap() {
        println!(r#"cargo:rustc-cfg=feature="test-quoted-keys-in-macro""#);
    }
}