Skip to main content
Glama

microsandbox

by microsandbox
build.rs967 B
use std::{env, path::Path}; fn main() { // Get the manifest directory (where Cargo.toml lives) let manifest_dir = env::var("CARGO_MANIFEST_DIR").unwrap(); let build_dir = Path::new(&manifest_dir).parent().unwrap().join("build"); // Add build directory as first search path println!("cargo:rustc-link-search=native={}", build_dir.display()); // Add system paths as fallback println!("cargo:rustc-link-search=native=/usr/local/lib"); // Add user-specific library as fallback println!( "cargo:rustc-link-search=native={}/.local/lib", env::var("HOME").unwrap() ); // Link against libkrun library println!("cargo:rustc-link-lib=dylib=krun"); // Force rebuild if the library changes println!( "cargo:rerun-if-changed={}", build_dir.join("libkrun.dylib").display() ); println!( "cargo:rerun-if-changed={}", build_dir.join("libkrun.so").display() ); }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/microsandbox/microsandbox'

If you have feedback or need assistance with the MCP directory API, please join our Discord server