Use lld linker + remove useless 'use'
authorGreg Burri <greg.burri@gmail.com>
Wed, 12 Mar 2025 22:45:43 +0000 (23:45 +0100)
committerGreg Burri <greg.burri@gmail.com>
Wed, 12 Mar 2025 22:45:43 +0000 (23:45 +0100)
.cargo/config.toml [new file with mode: 0644]
src/main.rs

diff --git a/.cargo/config.toml b/.cargo/config.toml
new file mode 100644 (file)
index 0000000..7f77502
--- /dev/null
@@ -0,0 +1,2 @@
+[target.x86_64-unknown-linux-musl]
+linker = "rust-lld"
index 6d877bb..2e34263 100644 (file)
@@ -1,6 +1,5 @@
 use std::{
-    fmt,
-    net::{IpAddr, Ipv4Addr, UdpSocket},
+    net::{IpAddr, Ipv4Addr},
     str::FromStr,
     thread,
     time::{self, Duration},