| 7191 | |
| 7192 | #ifdef CBM_CLI_ENABLE_TEST_API |
| 7193 | static const char *detect_os(void) { |
| 7194 | #ifdef _WIN32 |
| 7195 | return "windows"; |
| 7196 | #elif defined(__APPLE__) |
| 7197 | return "darwin"; |
| 7198 | #else |
| 7199 | return "linux"; |
| 7200 | #endif |
| 7201 | } |
| 7202 | |
| 7203 | static const char *detect_arch(void) { |
| 7204 | #if defined(__aarch64__) || defined(_M_ARM64) |