blob: 2e1cc14bb38e168d38673a3f409ba4fbfc78e00c [file] [view] [edit]
# LLM Usage
Cargo follows the same [LLM usage policy] as `rust-lang/rust`.
Please read it before using LLM assistance
when participating in `rust-lang/cargo`.
For clarity,
this includes any updates to this policy made subsequent to Cargo's adoption of it;
it is our intention to remain aligned with the current policy on an ongoing basis.
When reading the policy in the context of Cargo:
* Read `rust-lang/rust` as `rust-lang/cargo`.
* Read the ratifying teams as the Cargo team.
* Read "diagnostics" as generally encompassing Cargo's user-facing output.
* Ignore parts that do not apply to Cargo,
such as those specific to the compiler or the language.
* The Cargo team will over time more precisely define what we mean by "critical" areas.
We expect to adopt whatever tooling `rust-lang/rust` adopts to specify this more precisely.
* When in doubt,
the Cargo team will provide any and all Cargo-specific interpretations of the policy,
until such time as the policy itself is updated to encompass Cargo.
For suggestions about how to use LLMs *well*,
and how to review LLM-created PRs,
see [the rustc-dev-guide][llm-guidance].
[LLM usage policy]: https://forge.rust-lang.org/policies/llm-usage.html
[llm-guidance]: https://rustc-dev-guide.rust-lang.org/llm-guidance.html