whirlpool-asm 0.3.0

Assembly implementation of Whirlpool compression function
Documentation
extern crate gcc;

fn main() {
    let asm_path = if cfg!(target_arch = "x86") {
        "src/x86.S"
    } else if cfg!(target_arch = "x86_64") {
        "src/x64.S"
    } else {
        panic!("Unsupported target architecture");
    };
    gcc::Config::new()
                .flag("-c")
                .file(asm_path)
                .compile("libwhirlpool.a");
}