File: build.rs

package info (click to toggle)
rust-fs-err 3.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 256 kB
  • sloc: makefile: 2
file content (11 lines) | stat: -rw-r--r-- 318 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
extern crate autocfg;

fn main() {
    let ac = autocfg::new();
    ac.emit_rustc_version(1, 63); // #[cfg(rustc_1_63)]
    ac.emit_rustc_version(1, 81); // #[cfg(rustc_1_81)]
    ac.emit_rustc_version(1, 89); // #[cfg(rustc_1_89)]

    // Re-run if this file changes
    autocfg::rerun_path("build.rs");
}