| 7355 | |
| 7356 | #ifdef CBM_CLI_ENABLE_TEST_API |
| 7357 | static const char *detect_os(void) { |
| 7358 | #ifdef _WIN32 |
| 7359 | return "windows"; |
| 7360 | #elif defined(__APPLE__) |
| 7361 | return "darwin"; |
| 7362 | #else |
| 7363 | return "linux"; |
| 7364 | #endif |
| 7365 | } |
| 7366 | |
| 7367 | static const char *detect_arch(void) { |
| 7368 | #if defined(__aarch64__) || defined(_M_ARM64) |