From b549ceebab41674b61225c0ca76e25af96245462 Mon Sep 17 00:00:00 2001 From: Alex Janka Date: Sat, 18 Jan 2025 11:52:32 +1100 Subject: [PATCH] update toolchain --- charge-controller-supervisor/src/controller.rs | 2 +- rust-toolchain.toml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/charge-controller-supervisor/src/controller.rs b/charge-controller-supervisor/src/controller.rs index 422dfb2..a7abcb4 100644 --- a/charge-controller-supervisor/src/controller.rs +++ b/charge-controller-supervisor/src/controller.rs @@ -137,7 +137,7 @@ impl Controller { } pub fn name(&self) -> &str { - &self.name + self.name.as_str() } pub fn set_tx_to_secondary(&mut self, tx: tokio::sync::watch::Sender) { diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 5d56faf..9b52b3e 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,2 +1,3 @@ [toolchain] -channel = "nightly" +channel = "nightly-2025-01-16" +targets = ["aarch64-unknown-linux-musl"]