Info
This post is auto-generated from RSS feed This Week in Rust. Source: This Week in Rust 580
Hello and welcome to another issue of This Week in Rust! Rust is a programming language empowering everyone to build reliable and efficient software. This is a weekly summary of its progress and community. Want something mentioned? Tag us at @ThisWeekInRust on X (formerly Twitter) or @ThisWeekinRust on mastodon.social, or send us a pull request. Want to get involved? We love contributions.
This Week in Rust is openly developed on GitHub and archives can be viewed at this-week-in-rust.org. If you find any errors in this week's issue, please submit a PR.
Want TWIR in your inbox? Subscribe here.
This week's crate is fake, a library (and recently console utility) to generate fake data of various types.
Thanks to llogiq for the half-self-suggestion!
Please submit your suggestions and votes for next week!
An important step for RFC implementation is for people to experiment with the implementation and give feedback, especially before stabilization. The following RFCs would benefit from user testing before moving forward:
If you are a feature implementer and would like your RFC to appear on the above list, add the new call-for-testing
label to your RFC along with a comment providing testing instructions and/or guidance on which aspect(s) of the feature
need testing.
Always wanted to contribute to open-source projects but did not know where to start? Every week we highlight some tasks from the Rust community for you to pick and get started!
Some of these tasks may also have mentors available, visit the task page for more information.
If you are a Rust project owner and are looking for contributors, please submit tasks here or through a PR to TWiR or by reaching out on X (formerly Twitter) or Mastodon!
Are you a new or experienced speaker looking for a place to share something cool? This section highlights events that are being planned and are accepting submissions to join their event as a speaker.
If you are an event organizer hoping to expand the reach of your event, please submit a link to the website through a PR to TWiR or by reaching out on X (formerly Twitter) or Mastodon!
331 pull requests were merged in the last week
rustc_codegen_ssa
: Buffer file writes in link_rlib
format_args
in HiddenUnicodeCodepoints
lint--no-capture
/--nocapture
as bootstrap argumentsbigint_helper_methods
rustc_abi
default_overrides_default_fields
lintx86_64-unknown-linux-none
ty::Error
implement all auto traitsSized
in AsyncFn*
struct
field calls.
makes statement boundary unambiguousconst_alloc_layout
const_swap
style_edition = "2024"
in-treeslice::as_flattened_mut
unstably constinto_array
conversion destructors for Box
, Rc, and Arc
fs::copy
and io::copy
on LinuxFILE_ALLOCATION_INFO
for truncationfix(package)
: check dirtiness of path fields in manifestfix(package)
: check dirtiness of symlinks source filesfix(package)
: warn if symlinks checked out as plain text filesrefactor(package)
: split cargo_package
to modulesbad_crate_type
to only match error message prefixborrow_interior_mutable_const
ICE into FNif_not_else
manual_div_ceil
lintborrow_as_ptr
suggestiontrailing_empty_array
in testsExprKind::MethodCall
matches!(โฆ, None)
with .is_none()
inconsistent_struct_constructor
"all fields are shorthand" requirement configurablematch_same_arms
that have already been resolvedParamEnv
when checking future's output typetokio::main
macroenum
when hovering on fields in variantsextract_variable
Enum::Variant
even when it comes from a different crate-O
flag used by cfg discoveryfile_id
used for ranges in outgoing callsA pretty quiet week, with the exception of a significant improvement due to landing LTO for C / C++ programs compiled as part of the build.
Triage done by @simulacrum. Revision range: 0eca4dd3..93722f7e
0 Regressions, 1 Improvements, 1 Mixed; 0 of them in rollups 53 artifact comparisons made in total
Changes to Rust follow the Rust RFC (request for comments) process. These are the RFCs that were approved for implementation this week:
Every week, the team announces the 'final comment period' for RFCs and key PRs which are reaching a decision. Express your opinions now.
Foo { .. }
pattern matches non-struct typesRusty Events between 2025-01-01 - 2025-01-29 ๐ฆ
If you are running a Rust event please add it to the calendar to get it mentioned here. Please remember to add a link to the event too. Email the Rust Community Team for access.
Please see the latest Who's Hiring thread on r/rust
Hear, hear! Rust is the real deep state. They knew all along that memory-related bugs would dominate the Vulnerability Rating Taxonomy. Coincidence? I think not. ๐๐ง
โ @amoghavarsha@infosec.exchange on mastodon
Thanks to llogiq for the suggestion!
Please submit quotes and vote for next week!
This Week in Rust is edited by: nellshamrell, llogiq, cdmistman, ericseppanen, extrawurst, U007D, joelmarcey, mariannegoldin, bennyvasquez, bdillo Email list hosting is sponsored by The Rust Foundation
๐ท๏ธ Rust_feed