File: build.rs

package info (click to toggle)
rust-cast 0.2.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 148 kB
  • sloc: sh: 41; makefile: 2
file content (8 lines) | stat: -rw-r--r-- 192 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
extern crate rustc_version;

fn main() {
    let vers = rustc_version::version().unwrap();
    if vers.major == 1 && vers.minor >= 26 {
        println!("cargo:rustc-cfg=stable_i128")
    }
}