t1ha 0.1.2

An implementation of the T1AH (Fast Positive Hash) hash function.
1
2
3
4
5
6
7
8
9
10
11
use rustc_version::{version_meta, Channel};

fn main() {
    if version_meta().unwrap().channel == Channel::Nightly {
        println!("cargo:rustc-cfg=nightly");
    }

    if cfg!(target_arch = "x86") || cfg!(target_arch = "x86_64") {
        println!("cargo:rustc-cfg=unaligned_access");
    }
}