The Rust project has decided that a machine can help write its compiler, but it cannot be the author. On August 5 five teams adopted a policy governing how large language models may be used when contributing to the rust-lang/rust repository, set out in a post on the Inside Rust blog. It is not a blanket ban, and it does not speak for the whole project, but it is one of the more careful attempts yet to say where the line sits.

Help, yes. Author, no.

The policy sorts uses into three buckets. Models are welcome for the supporting work: answering questions, analysing code, summarising a thread for your own reading, private review, floating a possible fix. What they may not do is put words in the record. Comments and pull-request descriptions written by a model are out. So is documentation or a compiler diagnostic whose text a model authored. And no model's approval, on its own, is ever enough to merge or reject a change.

Between those two poles is a disclosed, case-by-case zone: machine translation, trivial edits that clear no real bar of originality, and review bots. The bots come with conditions. A review bot has to run from its own GitHub account, has to be blockable by any individual, cannot post raw model output under a person's name, and its comments cannot hold up a change unless a human reviewer signs off.

What I find honest about this is that the project did not pretend to agree with itself. The post is blunt that there is no consensus inside Rust on when or where AI tools are acceptable. Some members find real value in them. Others feel the effect on society and on the climate is serious enough that no use is defensible. Rather than paper over that split, the policy carves out the narrow ground everyone could live with: keep a human answerable for anything that enters the repository.

Rust is not alone in reaching for guardrails. The developer community has spent the year arguing over machine-written contributions, from AI code review bots at big labs to the code-hosting platform Codeberg voting to ban AI-generated code outright. Rust landed somewhere quieter. Use the tools if they help you think. Do not ask them to speak for you.

Sources

  1. i. blog.rust-lang.org
  2. ii. socket.dev
  3. iii. linuxiac.com

Commentarii · 0

Add · a · Comment