1
0
Fork 0
mirror of https://github.com/doukutsu-rs/doukutsu-rs synced 2024-11-22 05:33:02 +00:00

fix macOS build

This commit is contained in:
Alula 2022-02-28 19:13:27 +01:00
parent 657b73aefc
commit b673d5a33d
No known key found for this signature in database
GPG key ID: 3E00485503A1D8BA
2 changed files with 3 additions and 3 deletions

View file

@ -21,7 +21,7 @@ environment:
target: x86_64-apple-darwin
target_name: macos
job_name: mac-x64
appveyor_build_worker_image: macOS
appveyor_build_worker_image: macos-monterey
- channel: stable
target: x86_64-unknown-linux-gnu
target_name: linux
@ -67,7 +67,7 @@ for:
-
matrix:
only:
- appveyor_build_worker_image: macOS
- appveyor_build_worker_image: macos-monterey
install:
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -yv --default-toolchain $channel --default-host $target

View file

@ -20,7 +20,7 @@ fn main() {
// }
if target.contains("darwin") {
println!("cargo:rustc-env=MACOSX_DEPLOYMENT_TARGET=10.12");
println!("cargo:rustc-env=MACOSX_DEPLOYMENT_TARGET=10.15");
println!("cargo:rustc-link-arg=-weak_framework");
println!("cargo:rustc-link-arg=GameController");
println!("cargo:rustc-link-arg=-weak_framework");