summaryrefslogtreecommitdiffstats
path: root/vendor/scratch/build.rs
blob: a854765e51710a81360139a37cd3d06e996a8500 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#![cfg_attr(feature = "cargo-clippy", allow(renamed_and_removed_lints))]
#![cfg_attr(
    feature = "cargo-clippy",
    allow(let_underscore_drop, let_underscore_untyped)
)]

use std::{env, fs};

fn main() {
    let out_dir = env::var_os("OUT_DIR").unwrap();
    let _ = fs::remove_dir_all(&out_dir);
    let _ = fs::create_dir(&out_dir);
}