Summary
./install.sh can fail on macOS/Linux with No space left on device when the default codex-rs/target lives on a smaller root volume, even though the user may have a large secondary volume available.
The script already honors CARGO_TARGET_DIR, but the current help/error path does not make that recovery obvious enough.
Desired outcome
- Document using an external
CARGO_TARGET_DIR for source builds.
- Improve installer failure output so it suggests moving the build cache/target to another volume.
- Add regression coverage for the guidance path.
Example
CARGO_TARGET_DIR=/Volumes/Dzianis-3/codex-target ./install.sh
Summary
./install.shcan fail on macOS/Linux withNo space left on devicewhen the defaultcodex-rs/targetlives on a smaller root volume, even though the user may have a large secondary volume available.The script already honors
CARGO_TARGET_DIR, but the current help/error path does not make that recovery obvious enough.Desired outcome
CARGO_TARGET_DIRfor source builds.Example