From d33ed21fc4126acacea80afea9afaa06b4c0c07d Mon Sep 17 00:00:00 2001 From: Alessandro Decina Date: Mon, 16 Jan 2023 19:10:56 +1100 Subject: [PATCH] Pin nightly to nightly-2023-01-10 This until https://github.com/rust-lang/rust/pull/106796 gets fixed --- .github/workflows/build-aya-bpf.yml | 2 +- .github/workflows/build-aya.yml | 2 +- netlify.toml | 2 +- xtask/src/build_ebpf.rs | 2 +- xtask/src/docs/mod.rs | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-aya-bpf.yml b/.github/workflows/build-aya-bpf.yml index a29d7c09a..1d134ca93 100644 --- a/.github/workflows/build-aya-bpf.yml +++ b/.github/workflows/build-aya-bpf.yml @@ -30,7 +30,7 @@ jobs: - uses: actions-rs/toolchain@v1 with: - toolchain: nightly + toolchain: nightly-2023-01-10 components: rust-src override: true diff --git a/.github/workflows/build-aya.yml b/.github/workflows/build-aya.yml index 991298fa4..0b9a0ef5e 100644 --- a/.github/workflows/build-aya.yml +++ b/.github/workflows/build-aya.yml @@ -57,7 +57,7 @@ jobs: - uses: actions-rs/toolchain@v1 with: - toolchain: nightly + toolchain: nightly-2023-01-10 components: rustfmt, clippy, rust-src target: x86_64-unknown-linux-musl override: true diff --git a/netlify.toml b/netlify.toml index 3ad629123..8e0773eab 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,3 +1,3 @@ [build] publish = "site" - command = "rustup toolchain install nightly -c rust-src && cargo xtask docs" + command = "rustup toolchain install nightly-2023-01-10 -c rust-src && cargo xtask docs" diff --git a/xtask/src/build_ebpf.rs b/xtask/src/build_ebpf.rs index 4f98febaa..cd5b92348 100644 --- a/xtask/src/build_ebpf.rs +++ b/xtask/src/build_ebpf.rs @@ -60,7 +60,7 @@ fn build_rust_ebpf(opts: &BuildEbpfOptions) -> anyhow::Result<()> { let target = format!("--target={}", opts.target); let mut args = vec![ - "+nightly", + "+nightly-2023-01-10", "build", "--verbose", target.as_str(), diff --git a/xtask/src/docs/mod.rs b/xtask/src/docs/mod.rs index bfeca3a99..b17ecb7ca 100644 --- a/xtask/src/docs/mod.rs +++ b/xtask/src/docs/mod.rs @@ -61,7 +61,7 @@ fn build_docs(working_dir: &PathBuf, abs_header_path: &Path) -> Result<(), anyho .expect("failed to replace logo"); assert!(replace.success()); - let args = vec!["+nightly", "doc", "--no-deps", "--all-features"]; + let args = vec!["+nightly-2023-01-10", "doc", "--no-deps", "--all-features"]; let status = Command::new("cargo") .current_dir(working_dir)