const fn for SocketAddr::new, SocketAddrV4::new and SocketAddrV6::new #67390
Labels
A-const-fn
Area: const fn foo(..) {..}. Pure functions which can be applied at compile time.
A-io
Area: `std::io`, `std::fs`, `std::net` and `std::path`
C-tracking-issue
Category: A tracking issue for an RFC or an unstable feature.
Libs-Tracked
Libs issues that are tracked on the team's project board.
S-blocked
Status: Marked as blocked ❌ on something else such as an RFC or other implementation work.
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
This is a tracking issue for adding
const fn
toSocketAddr::new
,SocketAddrV4::new
andSocketAddrV6::new
to be able to initialize the socket address at compile time, for example:Open PR: #67315
The text was updated successfully, but these errors were encountered: