Files
Alfis/build.rs
T
Revertron 4169ede074 Added DNS timeouts here and there.
Fixed macOS and Ubuntu pipelines.
2025-10-23 21:26:03 +02:00

14 lines
405 B
Rust

extern crate winres;
fn main() {
// Set compiler flags for macOS ARM (Apple Silicon)
if cfg!(target_os = "macos") && cfg!(target_arch = "aarch64") {
println!("cargo:rustc-env=CC=clang -Wno-int-conversion");
}
if cfg!(target_os = "windows") {
let mut res = winres::WindowsResource::new();
res.set_icon("img/logo/alfis.ico");
res.compile().unwrap();
}
}