gecko-dev/third_party/rust/nix/build.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 строки
249 B
Rust
Исходник Обычный вид История

#[cfg(target_os = "dragonfly")]
extern crate cc;
#[cfg(target_os = "dragonfly")]
fn main() {
cc::Build::new()
.file("src/errno_dragonfly.c")
.compile("liberrno_dragonfly.a");
}
#[cfg(not(target_os = "dragonfly"))]
fn main() {}