Commit cd0dcd0
authored
docs: Update AGENTS.md to mandate 'yes | ./cargo.sh' (#2799)
* docs: Update AGENTS.md to mandate 'yes | ./cargo.sh'
The `./cargo.sh` wrapper (via `cargo-zerocopy`) interactively prompts
the user to install missing toolchains or components (e.g., `rust-src`).
This interactivity causes agents to hang or fail (e.g., panic on
unexpected EOF).
This change updates `AGENTS.md` to strictly require the usage of
`yes | ./cargo.sh` for all operations, ensuring that toolchain
installations are auto-confirmed in non-interactive environments.
All code examples and the syntax definition have been updated to
reflect this requirement.
* docs: Update AGENTS.md to mandate 'yes | ./cargo.sh' and reference fmt script
Updates `AGENTS.md` to:
1. Strictly require the usage of `yes | ./cargo.sh` for all operations to bypass interactive toolchain installation prompts.
2. Instruct agents to read `ci/check_fmt.sh` to determine how to format code.
All code examples and the syntax definition have been updated to reflect the `yes |` requirement.
---------
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>1 parent ddcf94c commit cd0dcd0
1 file changed
+11
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
| 26 | + | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
79 | 83 | | |
80 | 84 | | |
81 | 85 | | |
| |||
0 commit comments