Libs-API Meeting 2025-03-04
Meeting Link: https://meet.jit.si/rust-libs-meeting-crxoz2at8hiccp7b3ixf89qgxfymlbwr
Attendees: Amanieu, David, The 8472
Agenda
Triage
FCPs
7 rust-lang/rust T-libs-api FCPs
- merge rust.tf/80437 Tracking Issue for `box_into_inner` - (1 checkboxes left)
- merge rust.tf/106418 Implement `PartialOrd` and `Ord` for `Discriminant` - (2 checkboxes left)
- merge rust.tf/130823 Tracking Issue for `non_null_from_ref` - (3 checkboxes left)
- merge rust.tf/137280 stabilize ptr::swap_nonoverlapping in const - (4 checkboxes left)
- merge rust.tf/115585 Tracking issue for `cfg_match` - (4 checkboxes left)
- merge rust.tf/134213 Stabilize `naked_functions` - (4 checkboxes left)
- merge rust.tf/136877 Fix missing const for inherent pointer `replace` methods - (3 checkboxes left)
traviscross (1), tmandry (1), dtolnay (2), nikomatsakis (3), Amanieu (3), scottmcm (2), m-ou-se (1), joshtriplett (3), BurntSushi (5)
(nominated) rust.tf/libs358 Update Windows exe search order (phase 2)
removing the current directory from the search path
Related: https://github.com/rust-lang/rust/pull/137673
Amanieu: let's discuss with Chris present
Counterproposal: n.format_into(&mut core::fmt::NumBuffer::new())
Amanieu to respond
(nominated) rust.tf/74985 Tracking Issue for slice::array_chunks
Last time we discussed a related design question: https://github.com/rust-lang/libs-team/issues/292#issuecomment-1820372426
The small meeting leans toward runtime panic
(nominated) rust.tf/122661 Change the desugaring of `assert!` for better error output
Breaking change for asserting on custom types implementing Not
Not a breaking change for &bool
because the match will perform match ergonomics
Was there a crater? No
Let's FCP and crater in parallel
David to respond
(nominated) rust.tf/137198 Rename `cfg_match!` to `cfg_select!`
Josh: "meh". This seems close enough to a match, and the name seems reasonably intuitive. I don't think there's value in changing this, and select
is a less familiar concept.
Last week agreed to discuss when Josh is available
Skip
David: my preference: none of the above. No bounds on T
, no bounds on F
, just print ExtractIf { .. }
as the debug representation
8472: T: Debug
bounds are important, F: FnMut
bounds are less important. Slightly in favor of having them
David to write PR and propose FCP
(nominated) rust.tf/137928 stabilize const_cell
FCP proposed
(waiting on team) rust.tf/136687 Improve the documentation of `Display` and `FromStr`, and their interactions
(waiting on team) rust.tf/136912 Add missing trait implementations for ScopedJoinHandle
(new change proposal) rust.tf/libs554 Add `std::process::Output::exit_ok`
(new change proposal) rust.tf/libs553 Add a "shrink-if-excessive" API to `Vec`
(new change proposal) rust.tf/libs552 Provider-style API for `Context`
(new change proposal) rust.tf/libs551 ACP: std::os::unix::process::CommandExt::chroot
(new change proposal) rust.tf/libs550 `impl Display for CStr`
(new change proposal) rust.tf/libs549 Add `uNN::checked_sub_nonzero`
(new change proposal) rust.tf/libs548 ACP: Add `NonZero::<T>::from_str_radix`
(new change proposal) rust.tf/libs544 `Arc<impl !Sized>` constructors
(new change proposal) rust.tf/libs543 ACP: Slice to array version of `split_off`
(new change proposal) rust.tf/libs542 Concurrent Read-Write Locks on Slices
(stalled change proposal) rust.tf/libs363 Un-specialize impl ToString
(stalled change proposal) rust.tf/libs350 std::slice::from_raw_parts alternative that would accept a null pointer if len == 0 by returning an empty slice
(stalled change proposal) rust.tf/libs207 `parse_line` method for `Stdin`
(stalled change proposal) rust.tf/libs124 Integrate `Error` trait with panic interfaces
(stalled change proposal) rust.tf/libs331 Support permanently skipping tests on a specific system
(stalled change proposal) rust.tf/libs262 Add infallible variant of RangeFrom::next()
Generated by fully-automatic-rust-libs-team-triage-meeting-agenda-generator