Skip to content

Installer should surface external Cargo target usage when local disk is tight #54

Description

@OpenCodeEngineer

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions