rfcs
rfcs copied to clipboard
RFCs for changes to Rust
This issue is a duplicate; the original was posted on [Internal Rust](https://internals.rust-lang.org/t/effect-system-crate-permissions/23529). However, I’m interested in discussing it, it’s just an idea. I want to see if people think this...
[Rendered](https://github.com/ijackson/rust-rfcs/blob/command/text/0000-command-ergonomics.md)
# Summary This RFC introduces a concise safety-comment convention for unsafe code in standard libraries: tag every public unsafe function with `#[safety::requires]` and call with `#[safety::checked]`. Safety tags refine today’s...
# Summary This RFC introduces an attribute for marking files as autogenerated. This syntax can be used by everything from rustbindgen to protoc (protobuf compiler) and understood by humans and...
Add `repr(ordered_fields)` and provide a migration path to switch users from `repr(C)` to `repr(ordered_fields)`, then change the meaning of `repr(C)` in the next edition. This RFC is meant to be...
There are libraries, such as wlroots and GLib, that do not atomically set `O_CLOEXEC` on the file descriptors they create. Instead, they require any program using the library to close...
- Feature Name: Include Clang in llvm-tools - Start Date: 2025-08-04 - RFC PR: [rust-lang/rfcs#3847]() - Rust Issue: [rust-lang/rust#0000](https://github.com/rust-lang/rust/issues/0000) # Summary [summary]: #summary Include a version of `clang` and `clang++`...
RFC for the issue https://github.com/rust-lang/rust/issues/74182 [Rendered](https://github.com/kornelski/rfcs/blob/stable_since/text/0000-stable_since.md)
Supercedes #3268. Introduces a new attribute, `#[rustc_scalable_vector(N)]`, which can be used to define new scalable vector types, such as those in Arm's Scalable Vector Extension (SVE), or RISC-V's Vector Extension...
## 🖼️ [Rendered](https://github.com/henryboisdequin/rfcs/blob/add-filename-info-to-io-error/text/0000-add-filename-info-to-io-error.md)