From a360a4afc39ed54d5d1ee63aa55c23fb3a39ee53 Mon Sep 17 00:00:00 2001 From: Jason Dagit Date: Mon, 30 Sep 2024 02:08:09 -0700 Subject: [PATCH] tweak a few things --- .cargo/config.toml | 4 ++-- .github/workflows/onpush.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index d1dd20e..9034794 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,5 +1,5 @@ [target.x86_64-apple-darwin] -rustflags = ["-C", "link-args=-mmacosx-version-min=11.0"] +rustflags = ["-C", "link-arg=-Wl,-platform_version,macOS,11.0,12.0"] [target.aarch64-apple-darwin] -rustflags = ["-C", "link-args=-mmacosx-version-min=11.0"] +rustflags = ["-C", "link-arg=-Wl,-platform_version,macOS,11.0,12.0"] diff --git a/.github/workflows/onpush.yml b/.github/workflows/onpush.yml index 854e4b8..a4ef579 100644 --- a/.github/workflows/onpush.yml +++ b/.github/workflows/onpush.yml @@ -230,7 +230,7 @@ jobs: - name: Check min version (x86) if: ${{ matrix.is-osx }} run: | - otool -l target/x86_64-apple-darwin/release/annelid | grep -A 3 LC_VERSION_MIN_MACOSX + otool -l target/x86_64-apple-darwin/release/annelid | grep -A 3 LC_BUILD_VERSION - name: Build for aarch64-apple-darwin (macOS) if: ${{ matrix.is-osx }} @@ -240,7 +240,7 @@ jobs: - name: Check min version (arm) if: ${{ matrix.is-osx }} run: | - otool -l target/aarch64-apple-darwin/release/annelid | grep -A 3 LC_VERSION_MIN_MACOSX + otool -l target/aarch64-apple-darwin/release/annelid | grep -A 3 LC_BUILD_VERSION - name: Create universal binary (macOS) if: ${{ matrix.is-osx }}