File: build.rs

package info (click to toggle)
firefox 92.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 3,421,728 kB
  • sloc: cpp: 5,807,324; javascript: 5,492,422; ansic: 3,131,938; python: 853,398; asm: 331,230; xml: 179,034; java: 155,644; sh: 63,882; makefile: 20,127; perl: 12,798; yacc: 4,583; cs: 3,846; objc: 3,026; lex: 1,720; exp: 762; pascal: 635; php: 436; lisp: 260; awk: 231; ruby: 103; sed: 54; sql: 46; csh: 45
file content (8 lines) | stat: -rw-r--r-- 192 bytes parent folder | download | duplicates (8)
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")
    }
}