aboutsummaryrefslogtreecommitdiff
path: root/AGENTS
diff options
context:
space:
mode:
author_ov4 <ov4@ov4.org>2026-10-21 11:08:50 +0000
committer_ov4 <ov4@ov4.org>2026-10-21 11:08:50 +0000
commit7b94b9003daa1126ce78df37481fc52774c2f0b4 (patch)
treec5e491c2a33d031da2f3400143ec74dab437e291 /AGENTS
parent5a254e2ab4741bc88c373ae1673c2ad9a7e6a588 (diff)
feat(bundle): run the bundled compiler with input and streaming output
Save before running, close prefilled stdin at EOF, and stream output bytes through Tauri channels. Stop and reap the child before exit or another run. Disable embedded stdout buffering and exercise the runner with real programs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'AGENTS')
-rw-r--r--AGENTS/ARCH.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/AGENTS/ARCH.md b/AGENTS/ARCH.md
index e6361a9..84d94ed 100644
--- a/AGENTS/ARCH.md
+++ b/AGENTS/ARCH.md
@@ -163,6 +163,8 @@ Driver behavior (`tools/driver/main.cc`):
- Both execution modes return the program's exit status and inherit standard
streams. `-r -o` saves a binary; adding `-S` saves IR instead. Saved output is
kept on execution failure. Execution still uses the configured runner.
+ EMBEDDED disables stdout buffering before JIT initialization so pipe clients
+ receive output during execution, including on Windows's shared host CRT.
All modes require static LLVM, Clang Driver and LLD archives. `cmake/EmbeddedLLVM.cmake` also selects
static compression/terminal support archives when LLVM uses them. Linux Clang