File: build.rs

package info (click to toggle)
rust-proc-macro2-diagnostics 0.10.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 168 kB
  • sloc: makefile: 2
file content (7 lines) | stat: -rw-r--r-- 229 bytes parent folder | download
1
2
3
4
5
6
7
fn main() {
    if let Some((version, channel, _)) = version_check::triple() {
        if version.at_least("1.31.0") && channel.supports_features() {
            println!("cargo:rustc-cfg=nightly_diagnostics");
        }
    }
}