Update mod.rs

This commit is contained in:
Sebastian J. Bronner 2024-01-25 11:30:44 +01:00 committed by Benjamin Fry
parent 0ab6d0995f
commit 35de3f8bff

View File

@ -83,7 +83,7 @@ where
let server_path = env::var("TDNS_WORKSPACE_ROOT").unwrap_or_else(|_| "..".to_owned());
println!("using server src path: {server_path}");
let mut command = Command::new(format!("{server_path}/target/debug/hickory-dns"));
let mut command = Command::new(env!("CARGO_BIN_EXE_hickory-dns"));
command
.stdout(Stdio::piped())
.env(