1
0
Fork 0
firefox/third_party/rust/whatsys/build.rs
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

17 lines
346 B
Rust

use std::env;
fn rmain() -> Option<()> {
// Missing? No idea what's going on.
let target_os = env::var("CARGO_CFG_TARGET_OS").ok()?;
if target_os == "windows" {
let mut builder = cc::Build::new();
builder.file("c/windows.c");
builder.compile("info");
}
Some(())
}
fn main() {
let _ = rmain();
}