From: Greg Burri Date: Wed, 12 Mar 2025 22:45:43 +0000 (+0100) Subject: Use lld linker + remove useless 'use' X-Git-Url: https://git.euphorik.ch/?a=commitdiff_plain;h=54f686321c75e89258519c3109adeb07b56f83d5;p=rpi_keep_alive.git Use lld linker + remove useless 'use' --- diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 0000000..7f77502 --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,2 @@ +[target.x86_64-unknown-linux-musl] +linker = "rust-lld" diff --git a/src/main.rs b/src/main.rs index 6d877bb..2e34263 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,6 +1,5 @@ use std::{ - fmt, - net::{IpAddr, Ipv4Addr, UdpSocket}, + net::{IpAddr, Ipv4Addr}, str::FromStr, thread, time::{self, Duration},