Plan, apply and roll back changes to a production ontology, with a blast radius report and a proof an auditor can re-check.
Rust ai-nativedescription-logicsformal-verificationinfrastructure-as-codeisabelle-languageknowledge-graphleanlean4mcpmcp-serverontologyowlowl2reasoningrustshaclsparqltheorem-proving
Run async main on a thread with an 8 MiB stack
Jioh Junga5999a725f44
diff --git a/src/main.rs b/src/main.rsindex 1f0047cf..02763b35 100644--- a/src/main.rs+++ b/src/main.rs@@ -674,8 +674,19 @@ fn build_tool_filter(})}+fn main() -> anyhow::Result<()> {+ // The root async future is polled on the calling thread. Windows gives+ // the main thread 1 MiB of stack (vs 8 MiB on Linux/macOS), which+ // overflows in debug builds, so run on a thread with an explicit 8 MiB.+ std::thread::Builder::new()+ .stack_size(8 * 1024 * 1024)+ .spawn(async_main)?+ .join()+ .expect("main thread panicked")+}+#[tokio::main]-async fn main() -> anyhow::Result<()> {+async fn async_main() -> anyhow::Result<()> {let cli = Cli::parse();match cli.command {