Skip to content

Commit 82fffad

Browse files
committed
Update to LLVM 16
Rust recently updated to LLVM 16 (rust-lang/rust#107224) and the change is likely to be provided in next nightly builds.
1 parent f06a6a1 commit 82fffad

File tree

3 files changed

+19
-6
lines changed

3 files changed

+19
-6
lines changed

.github/workflows/build-test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- "stable"
2222
- "beta"
2323
- "nightly"
24-
llvm: ["15", "rustc"]
24+
llvm: ["16", "rustc"]
2525
name: "rustc: ${{ matrix.rust }}, llvm: ${{ matrix.llvm }}"
2626

2727
env:
@@ -80,9 +80,9 @@ jobs:
8080
shell: bash
8181
run: |
8282
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
83-
echo -e "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-15 main\n" | sudo tee /etc/apt/sources.list.d/llvm.list
83+
echo -e "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-16 main\n" | sudo tee /etc/apt/sources.list.d/llvm.list
8484
sudo apt-get update
85-
sudo apt-get install llvm-15-tools
85+
sudo apt-get install llvm-16-tools
8686
8787
- name: Build
8888
run: cargo build --verbose ${CARGO_ARGS}

Cargo.lock

Lines changed: 15 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ libc = "0.2"
2020
thiserror = { version = "1.0", optional = true }
2121
ar = { version = "0.8", optional = true }
2222
log = { version = "0.4", optional = true }
23-
llvm-sys = { version = "150", optional = true }
23+
llvm-sys = { version = "160", optional = true }
2424
aya-rustc-llvm-proxy = { version = "0.5.0", optional = true }
2525

2626
[dev-dependencies]

0 commit comments

Comments
 (0)