Skip to content

Commit

Permalink
ci(macos): attempt to fix linker error
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLostLambda committed Nov 8, 2024
1 parent 64b8133 commit f720950
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
[target.aarch64-apple-darwin]
linker = "rust-lld"
# NOTE: `rustdoc` doesn't currently respect the `linker` setting — keep an eye
# on this issue: https://github.com/rust-lang/rust/issues/125657
rustdocflags = ["-Clink-arg=-fuse-ld=/Users/runner/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/bin/rust-lld"]
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest] # macos-latest
# os: [ubuntu-latest, macos-latest, windows-latest]
os: [macos-latest]
toolchain: [stable, beta, nightly]
steps:
- uses: actions/checkout@v4
Expand All @@ -26,7 +27,7 @@ jobs:
with:
toolchain: ${{ matrix.toolchain }}

- run: just test
- run: find ~/.rustup -name rust-lld && just test

check_wasm_build:
name: Check WASM Build
Expand Down

0 comments on commit f720950

Please sign in to comment.