github.com
## Summary [summary]: #summary We should start working on a Rust specification. ## Goal of this RFC The goal of this RFC is to reach consensus on: - Whether we want a specification, and (if so), - Some initial goals and non-goals, and - How...
RFC 3355
RFC
2022-12-06
~8 min read
github.com
## Summary [summary]: #summary `c"…"` string literals. ## Motivation [motivation]: #motivation Looking at the [amount of `cstr!()` invocations just on GitHub](https://cs.github.com/?scopeName=All+repos&scope=&q=cstr%21+lang%3Arust) (about 3...
RFC 3348
RFC
2022-11-15
~5 min read
github.com
## Summary [summary]: #summary Relax the restrictions on which characters and escape codes are allowed in string, char, byte string, and byte literals. Most importantly, this means we accept the exact same characters and escape codes in `"…...
RFC 3349
RFC
2022-11-15
~4 min read
github.com
# crates.io token scopes RFC - Feature Name: `crates_io_token_scopes` - Start Date: 2020-06-24 - RFC PR: [rust-lang/rfcs#2947](https://github.com/rust-lang/rfcs/pull/2947) - crates.io issue: [rust-lang/crates.io#5443](https://github.com/rus...
RFC 2947
RFC
2022-11-08
~6 min read
github.com
## Summary Create an operational semantics team that is tasked with owning the semantics of unsafe code. This responsibility would be transferred from [T-types], which had previously been given ownership of this domain. Additionally, this t...
RFC 3346
RFC
2022-11-07
~8 min read
github.com
## Summary [summary]: #summary This RFC defines a mechanism for evolving the default Rust style over time without breaking backwards compatibility, via the Rust edition mechanism. ## Motivation [motivation]: #motivation The current Rust sty...
RFC 3338
RFC
2022-10-26
~4 min read
github.com
## Summary [summary]: #summary Consider some attributes 'unsafe', so that they must only be used like this: ```rust #[unsafe(no_mangle)] ``` ## Motivation [motivation]: #motivation Some of our attributes, such as `no_mangle`, can be used to...
RFC 3325
RFC
2022-10-11
~6 min read
github.com
## Restrictions - Start Date: 2022-10-09 - RFC PR: [rust-lang/rfcs#3323](https://github.com/rust-lang/rfcs/pull/3323) - Rust Issue: [rust-lang/rust#105077](https://github.com/rust-lang/rust/issues/105077) ## Summary You can write `pub impl(...
RFC 3323
RFC
2022-10-09
~18 min read
github.com
## Summary [summary]: #summary Create a new subteam of the lang team entitled **Lang Team Advisors**: * Advisors are people whose feedback and judgment is highly valued by the lang team. * Advisors are notified when the lang team makes FCP...
RFC 3327
RFC
2022-09-21
~6 min read
github.com
## Summary [summary]: #summary Introduce a new macro `core::mem::offset_of!`, which evaluates to a constant containing the offset in bytes of a field inside some type. Specifically, this RFC allows usage like the following: ```rs use core::...
RFC 3308
RFC
2022-08-29
~18 min read
github.com
## Summary [summary]: #summary This RFC charters the Rust Style Team, responsible for evolving the Rust style over time. This includes styling for new Rust constructs, as well as the evolution of the existing style over the course of Rust e...
RFC 3309
RFC
2022-08-25
~6 min read
github.com
## Summary [summary]: #summary Type ascription ([RFC #803][ascript-rfc], [tracking issue]) has been a merged RFC for seven years, with no clear path to stabilization. Since then, syntactic norms in Rust have shifted significantly and it's b...
RFC 3307
RFC
2022-08-07
~6 min read
github.com
## Summary This RFC establishes a Leadership Council as the successor of the core team[^core] and the new governance structure through which Rust Project members collectively confer the authority[^authority] to ensure successful operation o...
RFC 3392
RFC
2022-08-01
~63 min read
github.com
## Summary [summary]: #summary When Cargo is performing an API operation (`yank`/`login`/`publish`/etc.) to a source-replaced `crates-io`, require the user to pass `--registry <NAME>` to specify exactly which registry to use. Additionally,...
RFC 3289
RFC
2022-07-05
~4 min read
github.com
## Summary [summary]: #summary The Rust Compiler Team has used a co-leadership model since late 2019. This RFC codifies the expectations the team has for its leads and the time and effort we expect to be necessary to meet those expectations...
RFC 3262
RFC
2022-05-09
~10 min read
github.com
## Summary [summary]: #summary * Introduce a new "type system team" (the "types team" for short) that works to **implement and formally define** the semantics of Rust as decided by the lang team. * The type team owns and maintains: * The im...
RFC 3254
RFC
2022-04-12
~12 min read
github.com
## Refined trait implementations - Feature Name: `refined_impls` - Start Date: 2022-03-22 - RFC PR: [rust-lang/rfcs#3245](https://github.com/rust-lang/rfcs/pull/3245) - Rust Issue: [rust-lang/rust#100706](https://github.com/rust-lang/rust/i...
RFC 3245
RFC
2022-03-22
~19 min read
github.com
## Summary Languages like C++ have open namespaces where anyone can write code in any namespace. In C++'s case, this includes the `std` namespace and is only limited by convention. In contrast, Rust has closed namespaces which can only incl...
RFC 3243
RFC
2022-03-09
~14 min read
github.com
## Summary [summary]: #summary Add a `process_group` method to `std::os::unix::process::CommandExt` that allows setting the process group id (i.e. calling `setpgid`) in the child, thus enabling users to set process groups while leveraging t...
RFC 3228
RFC
2022-02-02
~1 min read
github.com
## Summary [summary]: #summary Add support for Cargo to authenticate the user to registries without sending secrets over the network. ## Motivation [motivation]: #motivation The word "token" is going to be used a lot in this document. For c...
RFC 3231
RFC
2022-02-02
~25 min read