Skip to content

Commit cec9f56

Browse files
Merge pull request #718 from denoland/main
Create a new pull request by comparing changes across two branches
2 parents 0bcbfa5 + d9a8d18 commit cec9f56

File tree

256 files changed

+7235
-3936
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

256 files changed

+7235
-3936
lines changed

.github/workflows/ai_pr_generation.yml

Lines changed: 0 additions & 363 deletions
This file was deleted.

.github/workflows/ci.generate.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ import { stringify } from "jsr:@std/yaml@^0.221/stringify";
55
// Bump this number when you want to purge the cache.
66
// Note: the tools/release/01_bump_crate_versions.ts script will update this version
77
// automatically via regex, so ensure that this line maintains this format.
8-
const cacheVersion = 80;
8+
const cacheVersion = 86;
99

1010
const ubuntuX86Runner = "ubuntu-24.04";
1111
const ubuntuX86XlRunner = "ghcr.io/cirruslabs/ubuntu-runner-amd64:24.04";
12-
const ubuntuARMRunner = "ghcr.io/cirruslabs/ubuntu-runner-arm64:24.04";
12+
const ubuntuARMRunner = "ghcr.io/cirruslabs/ubuntu-runner-arm64:24.04-plus";
1313
const windowsX86Runner = "windows-2022";
1414
const windowsX86XlRunner = "windows-2022-xl";
1515
const macosX86Runner = "macos-15-intel";
@@ -76,7 +76,7 @@ const prCachePath = [
7676
].join("\n");
7777

7878
// Note that you may need to add more version to the `apt-get remove` line below if you change this
79-
const llvmVersion = 20;
79+
const llvmVersion = 21;
8080
const installPkgsCommand =
8181
`sudo apt-get install -y --no-install-recommends clang-${llvmVersion} lld-${llvmVersion} clang-tools-${llvmVersion} clang-format-${llvmVersion} clang-tidy-${llvmVersion}`;
8282
const sysRootStep = {

.github/workflows/ci.yml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -113,12 +113,12 @@ jobs:
113113
use_sysroot: true
114114
- os: linux
115115
arch: aarch64
116-
runner: 'ghcr.io/cirruslabs/ubuntu-runner-arm64:24.04'
116+
runner: 'ghcr.io/cirruslabs/ubuntu-runner-arm64:24.04-plus'
117117
job: test
118118
profile: debug
119119
- os: linux
120120
arch: aarch64
121-
runner: '${{ (!contains(github.event.pull_request.labels.*.name, ''ci-full'') && (github.event_name == ''pull_request'')) && ''ubuntu-24.04'' || ''ghcr.io/cirruslabs/ubuntu-runner-arm64:24.04'' }}'
121+
runner: '${{ (!contains(github.event.pull_request.labels.*.name, ''ci-full'') && (github.event_name == ''pull_request'')) && ''ubuntu-24.04'' || ''ghcr.io/cirruslabs/ubuntu-runner-arm64:24.04-plus'' }}'
122122
job: test
123123
profile: release
124124
use_sysroot: true
@@ -173,8 +173,8 @@ jobs:
173173
~/.cargo/registry/index
174174
~/.cargo/registry/cache
175175
~/.cargo/git/db
176-
key: '80-cargo-home-${{ matrix.os }}-${{ matrix.arch }}-${{ hashFiles(''Cargo.lock'') }}'
177-
restore-keys: '80-cargo-home-${{ matrix.os }}-${{ matrix.arch }}-'
176+
key: '86-cargo-home-${{ matrix.os }}-${{ matrix.arch }}-${{ hashFiles(''Cargo.lock'') }}'
177+
restore-keys: '86-cargo-home-${{ matrix.os }}-${{ matrix.arch }}-'
178178
if: '!(matrix.skip)'
179179
- uses: dsherret/rust-toolchain-file@v1
180180
if: '!(matrix.skip)'
@@ -260,18 +260,18 @@ jobs:
260260
sudo apt-get -qq remove 'clang-12*' 'clang-13*' 'clang-14*' 'clang-15*' 'clang-16*' 'clang-17*' 'clang-18*' 'clang-19*' 'llvm-12*' 'llvm-13*' 'llvm-14*' 'llvm-15*' 'llvm-16*' 'llvm-17*' 'llvm-18*' 'llvm-19*' 'lld-12*' 'lld-13*' 'lld-14*' 'lld-15*' 'lld-16*' 'lld-17*' 'lld-18*' 'lld-19*' > /dev/null 2> /dev/null
261261
262262
# Install clang-XXX, lld-XXX, and debootstrap.
263-
echo "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-20 main" |
264-
sudo dd of=/etc/apt/sources.list.d/llvm-toolchain-jammy-20.list
263+
echo "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-21 main" |
264+
sudo dd of=/etc/apt/sources.list.d/llvm-toolchain-jammy-21.list
265265
curl https://apt.llvm.org/llvm-snapshot.gpg.key |
266266
gpg --dearmor |
267267
sudo dd of=/etc/apt/trusted.gpg.d/llvm-snapshot.gpg
268268
sudo apt-get update
269269
# this was unreliable sometimes, so try again if it fails
270-
sudo apt-get install -y --no-install-recommends clang-20 lld-20 clang-tools-20 clang-format-20 clang-tidy-20 || echo 'Failed. Trying again.' && sudo apt-get clean && sudo apt-get update && sudo apt-get install -y --no-install-recommends clang-20 lld-20 clang-tools-20 clang-format-20 clang-tidy-20
270+
sudo apt-get install -y --no-install-recommends clang-21 lld-21 clang-tools-21 clang-format-21 clang-tidy-21 || echo 'Failed. Trying again.' && sudo apt-get clean && sudo apt-get update && sudo apt-get install -y --no-install-recommends clang-21 lld-21 clang-tools-21 clang-format-21 clang-tidy-21
271271
# Fix alternatives
272272
(yes '' | sudo update-alternatives --force --all) > /dev/null 2> /dev/null || true
273273
274-
clang-20 -c -o /tmp/memfd_create_shim.o tools/memfd_create_shim.c -fPIC
274+
clang-21 -c -o /tmp/memfd_create_shim.o tools/memfd_create_shim.c -fPIC
275275
276276
echo "Decompressing sysroot..."
277277
wget -q https://github.com/denoland/deno_sysroot_build/releases/download/sysroot-20250207/sysroot-`uname -m`.tar.xz -O /tmp/sysroot.tar.xz
@@ -304,8 +304,8 @@ jobs:
304304
CARGO_PROFILE_RELEASE_INCREMENTAL=false
305305
RUSTFLAGS<<__1
306306
-C linker-plugin-lto=true
307-
-C linker=clang-20
308-
-C link-arg=-fuse-ld=lld-20
307+
-C linker=clang-21
308+
-C link-arg=-fuse-ld=lld-21
309309
-C link-arg=-ldl
310310
-C link-arg=-Wl,--allow-shlib-undefined
311311
-C link-arg=-Wl,--thinlto-cache-dir=$(pwd)/target/release/lto-cache
@@ -316,8 +316,8 @@ jobs:
316316
__1
317317
RUSTDOCFLAGS<<__1
318318
-C linker-plugin-lto=true
319-
-C linker=clang-20
320-
-C link-arg=-fuse-ld=lld-20
319+
-C linker=clang-21
320+
-C link-arg=-fuse-ld=lld-21
321321
-C link-arg=-ldl
322322
-C link-arg=-Wl,--allow-shlib-undefined
323323
-C link-arg=-Wl,--thinlto-cache-dir=$(pwd)/target/release/lto-cache
@@ -326,7 +326,7 @@ jobs:
326326
--cfg tokio_unstable
327327
$RUSTFLAGS
328328
__1
329-
CC=/usr/bin/clang-20
329+
CC=/usr/bin/clang-21
330330
CFLAGS=$CFLAGS
331331
" > $GITHUB_ENV
332332
- name: Remove macOS cURL --ipv4 flag
@@ -379,7 +379,7 @@ jobs:
379379
!./target/*/*.zip
380380
!./target/*/*.tar.gz
381381
key: never_saved
382-
restore-keys: '80-cargo-target-${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.profile }}-${{ matrix.job }}-'
382+
restore-keys: '86-cargo-target-${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.profile }}-${{ matrix.job }}-'
383383
- name: Apply and update mtime cache
384384
if: '!(matrix.skip) && (!startsWith(github.ref, ''refs/tags/''))'
385385
uses: ./.github/mtime_cache
@@ -744,7 +744,7 @@ jobs:
744744
!./target/*/gn_root
745745
!./target/*/*.zip
746746
!./target/*/*.tar.gz
747-
key: '80-cargo-target-${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.profile }}-${{ matrix.job }}-${{ github.sha }}'
747+
key: '86-cargo-target-${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.profile }}-${{ matrix.job }}-${{ github.sha }}'
748748
lint:
749749
name: 'lint ${{ matrix.profile }} ${{ matrix.os }}-${{ matrix.arch }}'
750750
needs:
@@ -795,8 +795,8 @@ jobs:
795795
~/.cargo/registry/index
796796
~/.cargo/registry/cache
797797
~/.cargo/git/db
798-
key: '80-cargo-home-${{ matrix.os }}-${{ matrix.arch }}-${{ hashFiles(''Cargo.lock'') }}'
799-
restore-keys: '80-cargo-home-${{ matrix.os }}-${{ matrix.arch }}-'
798+
key: '86-cargo-home-${{ matrix.os }}-${{ matrix.arch }}-${{ hashFiles(''Cargo.lock'') }}'
799+
restore-keys: '86-cargo-home-${{ matrix.os }}-${{ matrix.arch }}-'
800800
- uses: dsherret/rust-toolchain-file@v1
801801
- name: Install Deno
802802
uses: denoland/setup-deno@v2
@@ -813,7 +813,7 @@ jobs:
813813
!./target/*/*.zip
814814
!./target/*/*.tar.gz
815815
key: never_saved
816-
restore-keys: '80-cargo-target-${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.profile }}-${{ matrix.job }}-'
816+
restore-keys: '86-cargo-target-${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.profile }}-${{ matrix.job }}-'
817817
- name: test_format.js
818818
if: matrix.os == 'linux'
819819
run: deno run --allow-write --allow-read --allow-run --allow-net ./tools/format.js --check
@@ -833,7 +833,7 @@ jobs:
833833
!./target/*/gn_root
834834
!./target/*/*.zip
835835
!./target/*/*.tar.gz
836-
key: '80-cargo-target-${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.profile }}-${{ matrix.job }}-${{ github.sha }}'
836+
key: '86-cargo-target-${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.profile }}-${{ matrix.job }}-${{ github.sha }}'
837837
libs:
838838
name: build libs
839839
needs:

.github/workflows/issue_triage.yml

Lines changed: 0 additions & 73 deletions
This file was deleted.

0 commit comments

Comments
 (0)