//! Platform target detection for binary distribution.
/// Returns the platform target string matching the ACP registry format.
///
/// Examples: `darwin-aarch64`, `linux-x86_64`.
pub fn current_platform() -> Option<&'static str> {
match (std::env::consts::OS, std::env::consts::ARCH) {
("macos", "aarch64") => Some("darwin-aarch64"),
("macos", "x86_64") => Some("darwin-x86_64"),
("linux", "x86_64") => Some("linux-x86_64"),
("linux", "aarch64") => Some("linux-aarch64"),
_ => None,
}
}