diff options
| author | salmonik <salmonik@tuta.io> | 2026-11-18 12:34:33 +0100 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-11-18 12:34:33 +0100 |
| commit | 45d0d3c5f431688aa9dfbd6a4214256d6fe64122 (patch) | |
| tree | 862ca7949b0e6c1c8084f2fe7431bfa56364d8fc /README.md | |
| parent | 0.9.1: correctness fixes from the audit (diff) | |
| download | agent686-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 '')
| -rw-r--r-- | README.md | 16 |
1 files changed, 10 insertions, 6 deletions
| @@ -29,9 +29,13 @@ binary runs here; `--portable` targets the architecture floor instead. If the | |||
| 29 | binary is for another machine, use `--portable` or run `comp.sh` on that machine | 29 | binary 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 | ||
| 32 | A glibc build also inherits this machine's glibc floor, which is why the portable | 32 | A glibc build is bounded by the glibc symbols it references, not by this |
| 33 | paths are printed next to it: static musl removes the floor entirely, and building | 33 | machine's glibc version: `check-glibc.sh` reports the real floor (e.g. |
| 34 | inside an older Debian image lowers it. | 34 | `GLIBC_2.34`). Static musl removes the floor entirely, and building inside an |
| 35 | older Debian image lowers it. | ||
| 36 | |||
| 37 | The commands above produce `target/<triple>/release/agent686`; replace | ||
| 38 | `./agent686` below with that path. | ||
| 35 | 39 | ||
| 36 | The gate matters: the dev host's glibc is newer than the target's, so a | 40 | The gate matters: the dev host's glibc is newer than the target's, so a |
| 37 | dependency can silently raise the required symbol version. | 41 | dependency 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 |
| 80 | cargo test # 75 tests, no network | 84 | cargo test # 92 tests, no network |
| 81 | python3 scripts/mock-provider.py & # canned SSE provider | 85 | python3 scripts/mock-provider.py & # canned SSE provider |
| 82 | docker 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 | 87 | cargo 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 |
