]> git.bitcoin.ninja Git - rust-lightning/blob - build.rs
Merge pull request #225 from TheBlueMatt/2018-10-214-redo
[rust-lightning] / build.rs
1 extern crate cc;
2
3 fn main() {
4         #[cfg(not(any(target_arch = "x86", target_arch = "x86_64", target_arch = "arm")))]
5         {
6                 let mut cfg = cc::Build::new();
7                 cfg.file("src/util/rust_crypto_nonstd_arch.c");
8                 cfg.compile("lib_rust_crypto_nonstd_arch.a");
9         }
10 }