RepoJournal
Rust

@rust-lang

The Rust language, Cargo, and the standard library

Pick a date

The Wire · Showcase

RUST COMPILER TIGHTENS FUNCTION ARGUMENT LIMITS, DOCS EXPAND

By RepoJournal · Filed · About Rust

The Rust compiler now caps function arguments at 255 to prevent AST bloat, while the standard library gets its first comprehensive attribute documentation.

The compiler shipped a hard limit on function arguments across both splat AST and FnDecl [1], closing a vector for pathological code that could balloon memory usage during compilation. This isn't a breaking change for real code - if you're hitting 255 arguments, you have bigger architectural problems - but it hardens the compiler against adversarial inputs. In parallel, Rust's attribute documentation reached a milestone [2]: built-in attributes like `deprecated`, `warn`, `allow`, `cfg`, `deny`, and `forbid` now have proper reference docs using the `#[doc(attribute)]` mechanism, part of a larger push to make the standard library self-documenting. The compiler team also cleaned up technical debt [3] by removing stale FIXME comments and replacing slower `ilog(10)` calls with the optimized `ilog10()` variant. Miri pulled the latest upstream changes [4] to stay synchronized with the nightly compiler. On crates.io, the openipc ecosystem expanded with four new hardware-focused crates [5] [6] [7] [8], targeting embedded platforms from web to RTL88xx drivers.

Action items

References

  1. [1] Limit splat AST and FnDecl to 255 args rust-lang/rust
  2. [2] Rollup merge of #158244 - kantnero:attribute-docs-deprecated-warn, r=GuillaumeGomez,traviscross rust-lang/rust
  3. [3] Rollup merge of #158448 - GuillaumeGomez:cleanup-numbuffer, r=Amanieu rust-lang/rust
  4. [4] Automatic Rustup ↗ rust-lang/miri
  5. [5] Create crate `openipc-web` rust-lang/crates.io-index
  6. [6] Create crate `openipc-native` rust-lang/crates.io-index
  7. [7] Create crate `openipc-rtl88xx` rust-lang/crates.io-index
  8. [8] Create crate `openipc-core` rust-lang/crates.io-index

FAQ

What changed in Rust on June 27, 2026?
The Rust compiler now caps function arguments at 255 to prevent AST bloat, while the standard library gets its first comprehensive attribute documentation.
What should Rust teams do about it?
Review argument limits in any macro-heavy code or code generators that produce functions • Link to new attribute docs in your style guides and documentation
Which Rust repositories shipped on June 27, 2026?
rust-lang/rust, rust-lang/miri, rust-lang/crates.io-index

For your repos

The showcase is a teaser.
Your wire is the product.

Same engine. Different stack. Below: what changes when the wire is yours.

Showcase wire

  • 14 famous open source orgs
  • One wire per day
  • Public, generic
  • Read on the web, when you remember

Your wire

  • Up to 1,500 of your repos - orgs, deps, vendors
  • Morning and evening briefs
  • Action items routed to your team
  • Slack delivery, email, breaking-news CVE alerts

Want a hands-on demo first? Ask a current user for an invite link.