mirror of
https://github.com/Hmbown/DeepSeek-TUI.git
synced 2026-09-02 22:36:19 +08:00
Build 1445 confirmed the re-exec works -- the suite reached uid 1000 -- and then died on `cargo: command not found`. rustup had installed into `/root/.cargo`, which mode 0700 makes unreadable the moment the job stops being root. Install the toolchain into /opt/cargo + /opt/rustup on the Linux agent and mark it a+rX, pass an explicit HOME through the re-exec, and hand CARGO_HOME and ./target to the build user so cargo can still write its registry, git checkouts and target dir. macOS is unaffected: it is not root, so it keeps the HOME-relative paths. That leg has now passed twice at 328s (builds 1443 and 1445). Signed-off-by: CodeWhale Bot <bot@codewhale.net>