File: build.rs

package info (click to toggle)
librsvg 2.50.7%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 143,448 kB
  • sloc: sh: 6,189; ansic: 3,845; javascript: 2,419; python: 1,527; 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")
    }
}