15 lines
266 B
Rust
15 lines
266 B
Rust
use anyhow::Result;
|
|
|
|
#[tokio::main]
|
|
async fn main() -> Result<()> {
|
|
#[cfg(feature = "app")]
|
|
{
|
|
xiao::app::client::entry::run_client().await?;
|
|
}
|
|
#[cfg(not(target_os = "linux"))]
|
|
{
|
|
eprintln!("Only support Linux");
|
|
}
|
|
Ok(())
|
|
}
|