fix: Removes Windows and Mac Builds. Replaces build with cross for non-native builds

Apparently Cross Compiling to MacOS is basically impossible.

Crossing Compiling to Windows is painful but doable, not setting it up
here ngl
This commit is contained in:
2026-09-10 13:02:24 -05:00
parent 65517ef9bb
commit 5b69e43593
+8 -12
View File
@@ -69,9 +69,10 @@ jobs:
- name: Setup Rust - name: Setup Rust
uses: dtolnay/rust-toolchain@1.90.0 uses: dtolnay/rust-toolchain@1.90.0
with:
targets: x86_64-pc-windows-gnu aarch64-apple-darwin aarch64-unknown-linux-gnu x86_64-unknown-linux-musl aarch64-unknown-linux-musl - name: Install Cross
run: cargo install cross --locked
- name: Cache cargo dependencies - name: Cache cargo dependencies
uses: actions/cache@v4 uses: actions/cache@v4
with: with:
@@ -87,18 +88,13 @@ jobs:
- name: Build for Linux x86 (GNU and MUSL) - name: Build for Linux x86 (GNU and MUSL)
run: | run: |
cargo build --target x86_64-unknown-linux-gnu --locked cargo build --target --release x86_64-unknown-linux-gnu --locked
cargo build --target x86_64-unknown-linux-musl --locked cargo build --target --release x86_64-unknown-linux-musl --locked
- name: Build for Linux aarch64 (GNU and MUSL) - name: Build for Linux aarch64 (GNU and MUSL)
run: | run: |
cargo build --target aarch64-unknown-linux-gnu --locked cargo cross --target --release aarch64-unknown-linux-gnu --locked
cargo build --target aarch64-unknown-linux-musl --locked cargo cross --target --release aarch64-unknown-linux-musl --locked
- name: Build for x86 Windows
run: cargo build --target x86_64-pc-windows-gnu --locked
- name: Build for MacOS aarch64
run: cargo build --target aarch64-apple-darwin --locked