Another try to build for macOS.

This commit is contained in:
Revertron
2025-10-23 21:35:45 +02:00
parent 4169ede074
commit 914e8b6d67
2 changed files with 2 additions and 3 deletions
+2 -2
View File
@@ -1,9 +1,9 @@
extern crate winres;
fn main() {
// Set compiler flags for macOS ARM (Apple Silicon)
// Suppress int-conversion warnings for macOS ARM (Apple Silicon) webview compatibility
if cfg!(target_os = "macos") && cfg!(target_arch = "aarch64") {
println!("cargo:rustc-env=CC=clang -Wno-int-conversion");
println!("cargo:rustc-env=CFLAGS=-Wno-int-conversion");
}
if cfg!(target_os = "windows") {