blob: 5a9a55add0bc880df54b752e93c61be01bfe5fb5 (
plain)
1
2
3
4
5
6
7
8
9
|
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""#);
println!(r#"cargo:rustc-cfg=feature="test-nan-sign""#);
}
}
|