Skip to content

Commit

Permalink
tweak a few things
Browse files Browse the repository at this point in the history
  • Loading branch information
dagit committed Sep 30, 2024
1 parent 5034bf8 commit a360a4a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -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"]
4 changes: 2 additions & 2 deletions .github/workflows/onpush.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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 }}
Expand Down

0 comments on commit a360a4a

Please sign in to comment.