Skip to content
Tech News
← Back to articles

Rust-lang/rust is adopting an LLM policy

read original more articles
Why This Matters

The Rust project has adopted a targeted LLM policy to address challenges posed by AI-generated contributions, aiming to maintain community integrity and review quality. This move highlights the importance of responsible AI use in open-source collaboration, ensuring that contributions remain genuine and well-understood. It underscores the broader industry need to develop guidelines for AI-assisted development to balance innovation with community trust.

Key Takeaways

Recently, five teams in the Rust project adopted a policy that I originally authored, governing how Large Language Models can be used when contributing to the rust-lang/rust monorepo. Notably, the new policy is not an official stance on LLMs, and does not apply everywhere in the Rust project. I wrote it for a very specific purpose, described below.

This post talks about why we created that policy, what it says, and how this will affect contributors.

The policy affects the following groups of people:

People who review or moderate PRs on rust-lang/rust .

. People who author PRs with LLM-generated code on rust-lang/rust .

. People who discover issues using LLMs and post them on rust-lang/rust .

. People who write issues or comments that directly quote an LLM on rust-lang/rust .

If you are not in one of those groups, you don't have to change anything about how you work.

Why was this policy created?

While the Rust project is a collection of technical artifacts, it is also a community of people who work together to build, maintain, and extend those artifacts. When we talk about "contributing to the Rust project", we partly mean work on those artifacts, but we also mean joining that community and collaborating with the people already there.

... continue reading