libs-team icon indicating copy to clipboard operation
libs-team copied to clipboard

The home of the library team

Results 178 libs-team issues
Sort by recently updated
recently updated
newest added

# Proposal ## Problem statement People often want to check some conditions at compile-time, but currently Rust does not have an intuitionistic way to do it. ## Motivating examples or...

T-libs-api
api-change-proposal

# Proposal ## Problem statement As discussed in the 2024-01-03 T-lang triage meeting, equality for function pointers is awkward (due to "equal" functions being merged together or duplicated across different...

T-libs-api
api-change-proposal

# Proposal ## Problem statement As of today, changing the case of a `String` is done by using methods defined on `str`, which implies that a new buffer is allocated...

T-libs-api
api-change-proposal

# Proposal ## Motivating examples or use cases ```rs fn iter_if(cond: bool, inner: impl ExactSizeIterator) -> impl ExactSizeIterator { cond.then(|| inner).into_iter().flatten() } ``` cannot compile because > error[E0277]: the trait...

T-libs-api
api-change-proposal

# Proposal ## Problem statement Sometimes it is not possible to run a specific test on a system because of environmental reasons. These can be skipped by using `cargo test...

T-libs-api
api-change-proposal

# Proposal ## Problem statement There is no std-way of retrieving the devices host name. ## Motivating examples or use cases The devices host name is most commonly used as...

T-libs-api
api-change-proposal
ACP-accepted

The guidance at https://github.com/rust-lang/rfcs/blob/master/libs_changes.md for filing RFCs appears to be quite old and doesn't contain all the detail about how the libs team seems to operate these days. Primarily, it...

# Proposal ## Problem statement In general, code that initializes a buffer doesn't need to care whether that buffer is initialized, however, this leads to an issue. Since `&mut MaybeUninit`...

T-libs-api
api-change-proposal

# Proposal ## Problem statement This proposes a generalization of the existing unstable API `SyncUnsafeCell`. The `SyncUnsafeCell` type – as far as I understand from the [PR](https://github.com/rust-lang/rust/pull/95438) that adds it...

T-libs-api
api-change-proposal

# Proposal Note: this is a proposed alternative to #287 and probably other proposals before it. The solution is not complete, but it describes the problem in a way that...

T-libs-api
api-change-proposal