Skip to content

Local code intelligence for developers and AI agents. Connect code, docs and infrastructure in a persistent graph, with CBM Lens, MCP tools, agent integrations and change-aware test selection.

fix(build): restore Windows release compile

Martin Vogel00ed56fb77d7
diff --git a/Makefile.cbm b/Makefile.cbm
index a7c4b42b1..bc7a829fa 100644
--- a/Makefile.cbm
+++ b/Makefile.cbm
@@ -164,8 +164,10 @@ endif
# is meaningless for PE, so it is gated rather than made "common".
ELF_HARDENING_FLAGS :=
ifeq ($(IS_LINUX),yes)
+ifneq ($(IS_MINGW),yes)
ELF_HARDENING_FLAGS := -Wl,-z,noexecstack
endif
+endif
# The POSIX wrap shim exists only so the profiler can observe allocations. It
# must never reach a sanitized build: the Linux/macOS test builds are CRT+ASan,
diff --git a/src/daemon/runtime.c b/src/daemon/runtime.c
index 1699ebfb5..bdbb2c56b 100644
--- a/src/daemon/runtime.c
+++ b/src/daemon/runtime.c
@@ -11,6 +11,7 @@
#include "foundation/log.h"
#include "foundation/mem.h"
#include "foundation/platform.h"
+#include "foundation/win_utf8.h"
#include <limits.h>
#include <stdatomic.h>