Commit dfd0a9c
fix(chroot): detect cargo binaries when CARGO_HOME unset (#750)
* Initial plan
* fix: add fallback for Cargo PATH detection in chroot mode
When AWF_CARGO_HOME is not set, detect and add ~/.cargo/bin to PATH.
This ensures Rust binaries (rustc, cargo) are accessible even when
CARGO_HOME environment variable is not explicitly provided.
Fixes the chroot package manager test failure where rustc was not
found in PATH despite being installed at the default location.
Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>1 parent b0ec54e commit dfd0a9c
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
293 | 293 | | |
294 | 294 | | |
295 | 295 | | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
296 | 301 | | |
297 | 302 | | |
298 | 303 | | |
| |||
0 commit comments