Skip to content

Commit

Permalink
chore: Update to LLVM 20
Browse files Browse the repository at this point in the history
Latest Rust nightly switched to LLVM 20, so we need to update in order
to support rustc-llvm-proxy.
  • Loading branch information
tamird committed Feb 19, 2025
1 parent bea973b commit cc4d854
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
- beta
- nightly
llvm:
- 19
- 20
- source
name: rustc=${{ matrix.rust }} llvm=${{ matrix.llvm }}
needs: llvm
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/llvm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- id: ls-remote
run: |
set -euxo pipefail
value=$(git ls-remote https://github.com/aya-rs/llvm-project.git refs/heads/rustc/19.1-2024-09-17 | cut -f1)
value=$(git ls-remote https://github.com/aya-rs/llvm-project.git refs/heads/rustc/20.1-2025-02-13 | cut -f1)
echo "sha=$value" >> "$GITHUB_OUTPUT"
- id: cache-key
Expand Down
2 changes: 1 addition & 1 deletion tests/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ fn btf_dump(src: &Path, dst: &Path) {
btf.arg("dump").arg(src).stdout(dst);
let status = btf
.status()
.unwrap_or_else(|err| panic!("could not run {btf:?}: {err}",));
.unwrap_or_else(|err| panic!("could not run {btf:?}: {err}"));
assert_eq!(status.code(), Some(0), "{btf:?} failed");
}

Expand Down

0 comments on commit cc4d854

Please sign in to comment.