threadfin 0.1.2

A thread pool for running multiple tasks on a configurable group of threads.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use std::env;

fn main() {
    let target = env::var("TARGET").unwrap();

    if target.starts_with("x86_64")
        || target.starts_with("i686")
        || target.starts_with("aarch64")
        || target.starts_with("powerpc64")
        || target.starts_with("sparc64")
        || target.starts_with("mips64el")
        || target.starts_with("riscv64")
    {
        println!("cargo:rustc-cfg=threadfin_has_atomic64");
    }
}