Another try to build for macOS.

This commit is contained in:
Revertron
2025-10-23 21:43:22 +02:00
parent 914e8b6d67
commit fc7360ea00
2 changed files with 6 additions and 6 deletions
-5
View File
@@ -1,11 +1,6 @@
extern crate winres;
fn main() {
// Suppress int-conversion warnings for macOS ARM (Apple Silicon) webview compatibility
if cfg!(target_os = "macos") && cfg!(target_arch = "aarch64") {
println!("cargo:rustc-env=CFLAGS=-Wno-int-conversion");
}
if cfg!(target_os = "windows") {
let mut res = winres::WindowsResource::new();
res.set_icon("img/logo/alfis.ico");