From f2ab71da8ad8c636591cd959eb8cafedda807fee Mon Sep 17 00:00:00 2001 From: Peter Frank Date: Mon, 18 Mar 2024 19:03:17 -0700 Subject: [PATCH] Now using a channel that ties back to Rust 1.65.0 There were issues building out on non ARM linux for me, that doesn't happen in Github Actions for some reason, that was stopping local dev. The crux of the issue was 1.65.0 was upgraded to 1.78.0 via the previous channel config and that was missing a feature something was using to compile, specifically it was error[E0635]: unknown feature `proc_macro_span_shrink` --> /home/pfrank/.asdf/installs/rust/1.65.0/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.46/src/lib.rs:92:30 | 92 | feature(proc_macro_span, proc_macro_span_shrink) | ^^^^^^^^^^^^^^^^^^^^^^ This fixed that. --- rust-toolchain.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 8403735..7187e82 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,5 +1,5 @@ [toolchain] -channel = "nightly-2024-02-04" +channel = "stable-2022-11-03" components = [ "rustc" ] targets = [ "x86_64-pc-windows-gnu", "aarch64-unknown-linux-gnu", "x86_64-pc-windows-gnu" ] profile = "minimal"