Skip to content

Rust

A systems programming language focused on safety, speed and concurrency.

Unfriendly. Doesn’t accept AI-generated work.

Homepage Repository

In rust-lang/rust, cargo, clippy and other adopting repositories, LLMs may be used privately to answer questions, analyse, review and suggest, but not to create. LLM-written comments, issue bodies, PR descriptions and docs are banned; trivial changes, machine translation and verified LLM-found bugs need disclosure, and LLM-created code is only allowed in a pre-arranged, disclosed experiment.

Policy by area

Code contributionsPatches, pull requests and other changes written with AI tools.
Unfriendly
  • AI use must be disclosed
  • Contributor takes full responsibility
  • Only minor help (autocomplete, grammar)
Issues & bug reportsBug reports, security reports and issues found or written with AI tools.
Unfriendly
  • AI use must be disclosed
  • A human must review the output
  • Only minor help (autocomplete, grammar)
AI-written textPull request descriptions, issue comments and summaries written by AI.
Unfriendly
  • AI use must be disclosed
  • Only minor help (autocomplete, grammar)

In their own words

Code contributions

It’s fine to use LLMs to answer questions, analyze, distill, refine, check, suggest, review. But not to create.

Rust LLM Usage Policy

Pre-arranged, non-critical, high-quality, well-tested, and well-reviewed code changes that are originally created by an LLM are allowed, with disclosure.

Rust LLM Usage Policy

Your contributions are your responsibility; you cannot place any blame on an LLM.

Rust LLM Usage Policy

Issues & bug reports

Using an LLM to discover bugs, as long as you personally verify the bug.

Rust LLM Usage Policy

This also applies to issue bodies and PR descriptions.

Rust LLM Usage Policy

AI-written text

Comments that are originally created by an LLM posted from a personal user account.

Rust LLM Usage Policy

All uses under “⚠️ Allowed with caveats” must disclose that an LLM was used.

Rust LLM Usage Policy

Sources