Skip to content

Commit 5b504e5

Browse files
ekumpmorrisonlevi
andauthored
ci: update nightly in CI to 2026-02-08 (#1539)
# What does this PR do? Updating Rust nightly toolchain on CI to a current version. # Motivation Our nightly is over a year old # Additional Notes Anything else we should know when reviewing? # How to test the change? Describe here in detail how the change can be validated. Co-authored-by: levi.morrison <levi.morrison@datadoghq.com>
1 parent e8055e7 commit 5b504e5

File tree

13 files changed

+27
-26
lines changed

13 files changed

+27
-26
lines changed

.github/workflows/coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
swap-storage: true
2828
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
2929
- name: Install Rust
30-
run: rustup install nightly-2024-12-16 && rustup default nightly-2024-12-16
30+
run: rustup install nightly-2026-02-08 && rustup default nightly-2026-02-08
3131
- name: Install cargo-llvm-cov
3232
uses: taiki-e/install-action@2c41309d51ede152b6f2ee6bf3b71e6dc9a8b7df # 2.49.27
3333
with:

.github/workflows/fuzz.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ jobs:
1616
run: |
1717
set -e
1818
rustup set profile minimal
19-
rustup toolchain install nightly-2024-12-16
20-
rustup default nightly-2024-12-16
19+
rustup toolchain install nightly-2026-02-08
20+
rustup default nightly-2026-02-08
2121
- uses: taiki-e/install-action@2c41309d51ede152b6f2ee6bf3b71e6dc9a8b7df # 2.49.27
2222
with:
2323
tool: cargo-bolero

.github/workflows/lint.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ jobs:
2222
steps:
2323
- name: Checkout sources
2424
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
25-
- name: Install nightly-2024-12-16 toolchain and rustfmt
26-
run: rustup install nightly-2024-12-16 && rustup default nightly-2024-12-16 && rustup component add rustfmt
25+
- name: Install nightly-2026-02-08 toolchain and rustfmt
26+
run: rustup install nightly-2026-02-08 && rustup default nightly-2026-02-08 && rustup component add rustfmt
2727
- name: Cache [rust]
2828
uses: Swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1 # 2.8.1
2929
with:
@@ -36,7 +36,7 @@ jobs:
3636
strategy:
3737
fail-fast: false
3838
matrix:
39-
rust_version: ["1.84.1", "stable", "nightly-2024-12-16"]
39+
rust_version: ["1.84.1", "stable", "nightly-2026-02-08"]
4040
platform: [windows-latest, ubuntu-latest]
4141
steps:
4242
- name: Checkout sources

.github/workflows/miri.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ jobs:
1818
run: |
1919
set -e
2020
rustup set profile minimal
21-
rustup toolchain install nightly-2024-12-16 --component miri
22-
rustup default nightly-2024-12-16
21+
rustup toolchain install nightly-2026-02-08 --component miri
22+
rustup default nightly-2026-02-08
2323
- uses: taiki-e/install-action@2c41309d51ede152b6f2ee6bf3b71e6dc9a8b7df # 2.49.27
2424
with:
2525
tool: nextest@0.9.96

.github/workflows/pr-title-semver-check.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,11 @@ jobs:
8989
persist-credentials: false
9090

9191
- name: Install Rust ${{ env.RUST_VERSION }}
92-
run: rustup install ${{ env.RUST_VERSION }} && rustup default ${{ env.RUST_VERSION }} && rustup install nightly --profile minimal
92+
run: |
93+
rustup install ${{ env.RUST_VERSION }} && rustup default ${{ env.RUST_VERSION }}
94+
rustup toolchain install nightly-2026-02-08 --profile minimal
95+
# Link the dated nightly as 'nightly' for tools (like cargo-public-api) that expect it
96+
ln -sf ~/.rustup/toolchains/nightly-2026-02-08-x86_64-unknown-linux-gnu ~/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu
9397
9498
- name: Cache [rust]
9599
uses: Swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1 # 2.8.1

.github/workflows/release-proposal-dispatch.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,10 @@ jobs:
9595
with:
9696
cache-targets: true
9797
- uses: dtolnay/rust-toolchain@nightly
98+
with:
99+
toolchain: nightly-2026-02-08
100+
- name: Link nightly toolchain for cargo-public-api
101+
run: ln -sf ~/.rustup/toolchains/nightly-2026-02-08-x86_64-unknown-linux-gnu ~/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu
98102
- uses: dtolnay/rust-toolchain@stable
99103
with:
100104
toolchain: 1.92.0

.gitlab/fuzz.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ fuzz:
2222
timeout: 1h
2323
script:
2424
- VAULT_VERSION=1.15.4 && curl -fsSL "https://releases.hashicorp.com/vault/${VAULT_VERSION}/vault_${VAULT_VERSION}_linux_amd64.zip" -o vault.zip && unzip vault.zip && mv vault /usr/local/bin/vault && rm vault.zip && chmod +x /usr/local/bin/vault
25-
- rustup default nightly
25+
- rustup default nightly-2026-02-08
2626
- cargo install cargo-fuzz
2727
- pip3 install requests toml
2828
- python3 fuzz/fuzz_infra.py

bin_tests/src/lib.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,7 @@ fn get_base_target_dir() -> &'static PathBuf {
2424
// Otherwise, find the target directory by walking up from the current binary.
2525
let test_bin_location = PathBuf::from(env::args().next().unwrap());
2626
let mut location_components = test_bin_location.components().rev().peekable();
27-
loop {
28-
let Some(c) = location_components.peek() else {
29-
break;
30-
};
27+
while let Some(c) = location_components.peek() {
3128
if c.as_os_str() == "target" {
3229
break;
3330
}

bin_tests/tests/crashtracker_bin_test.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,12 @@ use std::process;
1010
use std::{fs, path::PathBuf};
1111

1212
use anyhow::Context;
13+
#[cfg(all(target_os = "linux", not(target_env = "musl")))]
14+
use bin_tests::test_runner::run_crash_no_op;
1315
use bin_tests::{
1416
artifacts::{self, StandardArtifacts},
1517
build_artifacts,
16-
test_runner::{run_crash_no_op, run_crash_test_with_artifacts, CrashTestConfig, ValidatorFn},
18+
test_runner::{run_crash_test_with_artifacts, CrashTestConfig, ValidatorFn},
1719
test_types::{CrashType, TestMode},
1820
validation::PayloadValidator,
1921
ArtifactsBuild, BuildProfile,

libdd-crashtracker/src/collector/api.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ pub fn default_signals() -> Vec<libc::c_int> {
1717
Vec::from(DEFAULT_SYMBOLS)
1818
}
1919

20+
#[cfg(target_os = "linux")]
2021
pub(super) fn mark_preload_logger_collector() {
2122
// This function is specific only for LD_PRELOAD testing
2223
// Best effort; this symbol exists only when the preload logger preload is present.

0 commit comments

Comments
 (0)