pub fn get_wintun_bin_relative_path() -> Result> { let dll_path = if cfg!(target_arch = "x86") { "wintun/bin/x86/wintun.dll" } else if cfg!(target_arch = "x86_64") { "wintun/bin/amd64/wintun.dll" } else if cfg!(target_arch = "arm") { "wintun/bin/arm/wintun.dll" } else if cfg!(target_arch = "aarch64") { "wintun/bin/arm64/wintun.dll" } else { return Err("Unsupported architecture".into()); }; Ok(dll_path.into()) } #[allow(dead_code)] fn main() {}