1 2 3 4 5 6 7 8 9 10 11 12 13 14
#[cfg(not(target_arch = "wasm32"))] use anyhow::Result; #[cfg(not(target_arch = "wasm32"))] #[tokio::main(flavor = "current_thread")] async fn main() -> Result<()> { spreadsheet_kit::cli::run().await } #[cfg(target_arch = "wasm32")] fn main() { eprintln!("agent-spreadsheet is unsupported on wasm32 targets"); std::process::exit(1); }