File: build.rs

package info (click to toggle)
librsvg 2.50.3%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 104,572 kB
  • sloc: sh: 6,130; ansic: 3,845; javascript: 2,419; python: 1,464; makefile: 757; xml: 325; sed: 16
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")
    }
}