mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-02-24 23:08:36 +01:00
11 lines
256 B
Rust
11 lines
256 B
Rust
|
extern crate gcc;
|
||
|
|
||
|
fn main() {
|
||
|
#[cfg(not(any(target_arch = "x86", target_arch = "x86_64", target_arch = "arm")))]
|
||
|
{
|
||
|
let mut cfg = gcc::Build::new();
|
||
|
cfg.file("src/util/rust_crypto_nonstd_arch.c");
|
||
|
cfg.compile("lib_rust_crypto_nonstd_arch.a");
|
||
|
}
|
||
|
}
|