Skip to content

Commit

Permalink
ci(macos): install lld in macos-latest CI
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLostLambda committed Nov 8, 2024
1 parent 0e59a95 commit 3c4f7dd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
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/gcc-ld/ld64.lld"]
rustdocflags = ["-Clink-arg=-fuse-ld=lld"]
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@ jobs:
with:
toolchain: ${{ matrix.toolchain }}

# NOTE: `rustdoc` doesn't currently respect the `linker` setting — keep
# an eye on this issue: https://github.com/rust-lang/rust/issues/125657.
# In the meantime, we can't use `rust-lld` and will need to manually
# install `lld` on macOS (#14)
- if: ${{ matrix.os }} == "macos-latest"
run: brew install lld

- run: just test

check_wasm_build:
Expand Down

0 comments on commit 3c4f7dd

Please sign in to comment.