treadmill 0.0.1

Independent binaries for unit and integration tests.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
fn main() {
    println!("cargo:rerun-if-changed=build.rs");

    // Forward the target to the library. Because this
    // library is only ment for use with cargo tests then
    // the target here will always be the target the user
    // is currently compiling tests for.
    println!(
        "cargo:rustc-env=TREADMILL_TARGET={}",
        std::env::var("TARGET").unwrap()
    );
}