summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorsalmonik <salmonik@tuta.io>2026-11-18 12:34:33 +0100
committersalmonik <salmonik@tuta.io>2026-11-18 12:34:33 +0100
commit45d0d3c5f431688aa9dfbd6a4214256d6fe64122 (patch)
tree862ca7949b0e6c1c8084f2fe7431bfa56364d8fc /README.md
parent0.9.1: correctness fixes from the audit (diff)
downloadagent686-45d0d3c5f431688aa9dfbd6a4214256d6fe64122.tar.gz
agent686-45d0d3c5f431688aa9dfbd6a4214256d6fe64122.zip
0.9.2: doc accuracy and UX fixes from the review
- missing key exits 1, consistent with --doctor - HTML error bodies get a one-line message - no unapprovable diff printed on a non-terminal - weak GLIBC_2.39 fix covers x86_64 gnu as well as i686 - README/PLAN/CHANGELOG brought in line with the actual binary
Diffstat (limited to 'README.md')
-rw-r--r--README.md16
1 files changed, 10 insertions, 6 deletions
diff --git a/README.md b/README.md
index e6b83aa..cec5fbd 100644
--- a/README.md
+++ b/README.md
@@ -29,9 +29,13 @@ binary runs here; `--portable` targets the architecture floor instead. If the
29binary is for another machine, use `--portable` or run `comp.sh` on that machine 29binary is for another machine, use `--portable` or run `comp.sh` on that machine
30— a native build fails with an illegal instruction on older chips. 30— a native build fails with an illegal instruction on older chips.
31 31
32A glibc build also inherits this machine's glibc floor, which is why the portable 32A glibc build is bounded by the glibc symbols it references, not by this
33paths are printed next to it: static musl removes the floor entirely, and building 33machine's glibc version: `check-glibc.sh` reports the real floor (e.g.
34inside an older Debian image lowers it. 34`GLIBC_2.34`). Static musl removes the floor entirely, and building inside an
35older Debian image lowers it.
36
37The commands above produce `target/<triple>/release/agent686`; replace
38`./agent686` below with that path.
35 39
36The gate matters: the dev host's glibc is newer than the target's, so a 40The gate matters: the dev host's glibc is newer than the target's, so a
37dependency can silently raise the required symbol version. 41dependency can silently raise the required symbol version.
@@ -77,10 +81,10 @@ that is where `rm -rf` lives. `--yolo` skips both, and is refused in `$HOME` and
77## Tests 81## Tests
78 82
79```sh 83```sh
80cargo test # 75 tests, no network 84cargo test # 92 tests, no network
81python3 scripts/mock-provider.py & # canned SSE provider 85python3 scripts/mock-provider.py & # canned SSE provider
82docker run --rm --platform linux/386 \ 86# i686 still builds (comp.sh on a 32-bit host picks it up):
83 -v "$PWD/target/i686-unknown-linux-gnu/release:/b:ro" debian:12 /b/agent686 --version 87cargo build --release --target i686-unknown-linux-gnu
84``` 88```
85 89
86`tests/sse.rs` feeds the stream one byte at a time, so splits inside lines and 90`tests/sse.rs` feeds the stream one byte at a time, so splits inside lines and