Skip to content

Commit cc4d854

Browse files
committed
chore: Update to LLVM 20
Latest Rust nightly switched to LLVM 20, so we need to update in order to support rustc-llvm-proxy.
1 parent bea973b commit cc4d854

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
- beta
5959
- nightly
6060
llvm:
61-
- 19
61+
- 20
6262
- source
6363
name: rustc=${{ matrix.rust }} llvm=${{ matrix.llvm }}
6464
needs: llvm

.github/workflows/llvm.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- id: ls-remote
1717
run: |
1818
set -euxo pipefail
19-
value=$(git ls-remote https://github.com/aya-rs/llvm-project.git refs/heads/rustc/19.1-2024-09-17 | cut -f1)
19+
value=$(git ls-remote https://github.com/aya-rs/llvm-project.git refs/heads/rustc/20.1-2025-02-13 | cut -f1)
2020
echo "sha=$value" >> "$GITHUB_OUTPUT"
2121
2222
- id: cache-key

tests/tests.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ fn btf_dump(src: &Path, dst: &Path) {
100100
btf.arg("dump").arg(src).stdout(dst);
101101
let status = btf
102102
.status()
103-
.unwrap_or_else(|err| panic!("could not run {btf:?}: {err}",));
103+
.unwrap_or_else(|err| panic!("could not run {btf:?}: {err}"));
104104
assert_eq!(status.code(), Some(0), "{btf:?} failed");
105105
}
106106

0 commit comments

Comments
 (0)