fix: fix conditional code for windows builds (#334)
This commit is contained in:
parent
43fefc8176
commit
cc2f295fb2
3 changed files with 61 additions and 55 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue