fix: fix builds on windows platform (#263)
This commit is contained in:
parent
fcd8bb2e62
commit
31a87032ca
5 changed files with 20 additions and 2 deletions
|
|
@ -43,6 +43,7 @@ async fn do_chainsync(client: &mut NodeClient) {
|
|||
}
|
||||
}
|
||||
|
||||
#[cfg(target_family = "unix")]
|
||||
#[tokio::main]
|
||||
async fn main() {
|
||||
tracing::subscriber::set_global_default(
|
||||
|
|
@ -66,6 +67,7 @@ async fn main() {
|
|||
}
|
||||
|
||||
#[cfg(not(target_family = "unix"))]
|
||||
|
||||
fn main() {
|
||||
panic!("can't use n2c unix socket on non-unix systems");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue