| 6998 | |
| 6999 | #ifdef CBM_CLI_ENABLE_TEST_API |
| 7000 | static const char *detect_os(void) { |
| 7001 | #ifdef _WIN32 |
| 7002 | return "windows"; |
| 7003 | #elif defined(__APPLE__) |
| 7004 | return "darwin"; |
| 7005 | #else |
| 7006 | return "linux"; |
| 7007 | #endif |
| 7008 | } |
| 7009 | |
| 7010 | static const char *detect_arch(void) { |
| 7011 | #if defined(__aarch64__) || defined(_M_ARM64) |