fil-sapling-crypto 0.7.0

Cryptographic library for Zcash Sapling
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#[cfg(target_arch = "x86_64")]
fn main() {
    let target_arch = std::env::var("CARGO_CFG_TARGET_ARCH").unwrap();

    if target_arch == "x86_64" {
        cc::Build::new()
            .flag("-c")
            .file("./asm/ext_twisted_ed_add.S")
            .compile("libsncrypto-twisted.a");
    }
}

#[cfg(not(target_arch = "x86_64"))]
fn main() {}