Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Commit

Permalink
Fix linkme lld issue in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
cpubot committed May 23, 2024
1 parent d913fad commit 31689d0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[build]
# https://github.com/rust-lang/rust/pull/124129
# https://github.com/dtolnay/linkme/pull/88
rustflags = ["-Zlinker-features=-lld"]
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3

# https://github.com/rust-lang/rust/pull/124129
# https://github.com/dtolnay/linkme/pull/88
- name: Disable rust-lld
run: echo RUSTFLAGS=${RUSTFLAGS}\ -Zlinker-features=-lld >> $GITHUB_ENV

- name: Run the script
run: |
pushd tools
Expand Down

0 comments on commit 31689d0

Please sign in to comment.