Skip to content

Commit

Permalink
Minimum MacOS version went from El Captain to Big Sur on ARM64 and Ca…
Browse files Browse the repository at this point in the history
…talina on Intel x86
  • Loading branch information
raphamorim committed Oct 19, 2024
1 parent a27137d commit b19d66a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
6 changes: 0 additions & 6 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,3 @@ rustflags = [
]
runner = 'wasm-bindgen-test-runner'

[target.aarch64-apple-darwin]
rustflags = [
# We can guarantee that this target will always run on a CPU with _at least_
# these capabilities, so let's optimize for them
"-Ctarget-cpu=apple-m1",
]
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,9 @@ build: install
# rustup target add x86_64-apple-darwin
# rustup target add aarch64-apple-darwin
$(TARGET)-universal:
RUSTFLAGS='-C link-arg=-s' MACOSX_DEPLOYMENT_TARGET="10.11" cargo build --release --target=x86_64-apple-darwin
RUSTFLAGS='-C link-arg=-s' MACOSX_DEPLOYMENT_TARGET="10.11" cargo build --release --target=aarch64-apple-darwin
# Note: Catalina is 10.15 and Big Sur is 11.0
RUSTFLAGS='-C link-arg=-s' MACOSX_DEPLOYMENT_TARGET="10.15" cargo build --release --target=x86_64-apple-darwin
RUSTFLAGS='-C link-arg=-s' MACOSX_DEPLOYMENT_TARGET="11.0" cargo build --release --target=aarch64-apple-darwin
@lipo target/{x86_64,aarch64}-apple-darwin/release/$(TARGET) -create -output $(APP_BINARY)

app-universal: $(APP_NAME)-universal ## Create a universal Rio.app
Expand Down
1 change: 1 addition & 0 deletions docs/docs/releases.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ language: 'en'
- Sugarloaf: Major rewrite of font glyph logic.
- Sugarloaf: Removal of some unnecessary processing on shaping logic.
- Sugarloaf: Rewrite/Change of render architecture, now sugarloaf does not have any reference to column/lines logic.
- *Breaking:* Minimum MacOS version went from El Captain to Big Sur on ARM64 and Catalina on Intel x86.
- Allow MacOS automation via events.
- Support to RetroArch shaders [@igorsaux](https://github.com/igorsaux).
- Fix: Set notepad as a default editor on Windows by [@igorsaux](https://github.com/igorsaux).
Expand Down

0 comments on commit b19d66a

Please sign in to comment.