Browse Source

Unpin Rust nightly

The issues with core::sync::atomic got fixed.

Signed-off-by: Michal Rostecki <[email protected]>
Michal Rostecki 2 years ago
parent
commit
7d19bde66b

+ 1 - 1
.github/workflows/build-aya-bpf.yml

@@ -30,7 +30,7 @@ jobs:
 
       - uses: actions-rs/toolchain@v1
         with:
-          toolchain: nightly-2023-01-10
+          toolchain: nightly
           components: rust-src
           override: true
 

+ 1 - 1
.github/workflows/build-aya.yml

@@ -57,7 +57,7 @@ jobs:
 
       - uses: actions-rs/toolchain@v1
         with:
-          toolchain: nightly-2023-01-10
+          toolchain: nightly
           components: rustfmt, clippy, rust-src
           target: x86_64-unknown-linux-musl
           override: true

+ 1 - 1
netlify.toml

@@ -1,3 +1,3 @@
 [build]
   publish = "site"
-  command = "rustup toolchain install nightly-2023-01-10 -c rust-src && cargo xtask docs"
+  command = "rustup toolchain install nightly -c rust-src && cargo xtask docs"

+ 1 - 1
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-2023-01-10",
+        "+nightly",
         "build",
         "--verbose",
         target.as_str(),

+ 1 - 1
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-2023-01-10", "doc", "--no-deps", "--all-features"];
+    let args = vec!["+nightly", "doc", "--no-deps", "--all-features"];
 
     let status = Command::new("cargo")
         .current_dir(working_dir)