Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/embed-frontend.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ for file in "${FILES[@]}"; do
if $IS_LINUX; then
# Linux: ld -r -b binary (zero bloat, ELF only)
abs_obj="$(cd "$(dirname "$0")/.." && pwd)/$obj"
(cd "$DIST_DIR" && ld -r -b binary -o "$abs_obj" "$rel")
(cd "$DIST_DIR" && "${LD:-ld}" -r -b binary -o "$abs_obj" "$rel")
else
# macOS/Windows/MSYS2: generate C byte array + cc (no xxd dependency)
local_c="$OUTPUT_DIR/embed_${mangled}.c"
Expand Down
2 changes: 1 addition & 1 deletion src/mcp/mcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -11547,7 +11547,7 @@ char *cbm_mcp_index_worker_no_response_failure(const char *args,
(void)snprintf(hint, sizeof(hint),
"Indexing worker exited cleanly (exit 0) without writing a response; the "
"index was not published. Last phase reached: %s. Inspect the worker log: %s",
phase, log);
phase ? phase : "(null)", log ? log : "(null)");
yyjson_mut_obj_add_strcpy(doc, root, "hint", hint);
if (repo_path) {
yyjson_mut_obj_add_strcpy(doc, root, "repo_path", repo_path);
Expand Down
Loading