Skip to content

Commit 8820c15

Browse files
committed
Use LLVM 14 in CI/CD for coverage.
1 parent 24c9d3b commit 8820c15

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

.github/workflows/ci.yml

+1-4
Original file line numberDiff line numberDiff line change
@@ -499,10 +499,7 @@ jobs:
499499

500500
# Coverage collection is Nightly-only
501501
rust_channel:
502-
# XXX: Later Rust Nightly uses LLVM 13 which has a new coverage format.
503-
# Use this older version until install-build-tools.sh and similar can
504-
# be updated to use LLVM 13.
505-
- nightly-2021-08-20
502+
- nightly
506503

507504
# TODO: targets
508505
include:

mk/cargo.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ for arg in $*; do
3939
done
4040

4141
# See comments in install-build-tools.sh.
42-
llvm_version=12
42+
llvm_version=14
4343

4444
case $target in
4545
aarch64-linux-android)

mk/install-build-tools.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ case $target in
7676
esac
7777

7878
if [ -n "$use_clang" ]; then
79-
# https://github.com/rust-lang/rust/pull/79365 upgraded the coverage file
80-
# format to one that only LLVM 11+ can use
81-
llvm_version=12
79+
# https://github.com/rustls/rustls/pull/1009 upgraded Rust's LLVM version to
80+
# 14
81+
llvm_version=14
8282
sudo apt-key add mk/llvm-snapshot.gpg.key
8383
sudo add-apt-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-$llvm_version main"
8484
sudo apt-get update

0 commit comments

Comments
 (0)