]> git.proxmox.com Git - pve-lxc-syscalld.git/blobdiff - src/main.rs
add track_caller to spawn
[pve-lxc-syscalld.git] / src / main.rs
index efa697922438081c122444f186574e5afad37b42..4eccc134077bb2461db992259210b04606e8dc4f 100644 (file)
@@ -30,6 +30,7 @@ pub mod tools;
 
 use crate::io::seq_packet::SeqPacketListener;
 
+#[track_caller]
 pub fn spawn(fut: impl Future<Output = ()> + Send + 'static) {
     tokio::spawn(fut);
 }