diff --git a/libs/std/sys.c b/libs/std/sys.c
index d518f6f3..a9185150 100644
--- a/libs/std/sys.c
+++ b/libs/std/sys.c
@@ -243,6 +243,7 @@ static value sys_is64() {
[arm64]
[arm]
[riscv64]
+ [unknown]
**/
@@ -258,7 +259,8 @@ static value sys_cpu_arch() {
#elif (defined(__riscv) && (__riscv_xlen == 64)) || defined(_M_RISCV64)
return alloc_string("riscv64");
#else
-#error Unknown CPU architecture
+ #warning Unknown CPU architecture for sys_cpu_arch
+ return alloc_string("unknown");
#endif
}