| 7104 | |
| 7105 | #ifdef CBM_CLI_ENABLE_TEST_API |
| 7106 | static const char *detect_os(void) { |
| 7107 | #ifdef _WIN32 |
| 7108 | return "windows"; |
| 7109 | #elif defined(__APPLE__) |
| 7110 | return "darwin"; |
| 7111 | #else |
| 7112 | return "linux"; |
| 7113 | #endif |
| 7114 | } |
| 7115 | |
| 7116 | static const char *detect_arch(void) { |
| 7117 | #if defined(__aarch64__) || defined(_M_ARM64) |