md5-asm 0.2.1

Assembly implementation of MD5 compression function
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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("libmd5.a");
}