fix: fix conditional code for windows builds (#334)

This commit is contained in:
Santiago Carmuega 2023-11-16 13:36:49 -03:00 committed by GitHub
parent 43fefc8176
commit cc2f295fb2
3 changed files with 61 additions and 55 deletions

View file

@ -58,7 +58,7 @@ async fn do_chainsync(client: &mut NodeClient) {
// environment
const SOCKET_PATH: &str = "/tmp/node.socket";
#[cfg(target_family = "unix")]
#[cfg(unix)]
#[tokio::main]
async fn main() {
tracing::subscriber::set_global_default(