13 lines
307 B
Rust
13 lines
307 B
Rust
#[cfg(unix)]
|
|
fn main() {
|
|
let rt = tokio::runtime::Runtime::new().unwrap();
|
|
rt.block_on(async {
|
|
nvim_core::run_mcp_loop("mcp-memory-linux-nvim", env!("APP_VERSION")).await;
|
|
});
|
|
}
|
|
|
|
#[cfg(not(unix))]
|
|
fn main() {
|
|
println!("mcp-memory-linux-nvim is only supported on Unix platforms.");
|
|
}
|