Another try to build for macOS.
This commit is contained in:
@@ -19,7 +19,6 @@ jobs:
|
||||
include:
|
||||
- os: windows-latest
|
||||
- os: ubuntu-22.04
|
||||
- os: macos-latest
|
||||
- os: macos-latest
|
||||
target: aarch64-apple-darwin
|
||||
|
||||
|
||||
@@ -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") {
|
||||
|
||||
Reference in New Issue
Block a user