Info
This post is auto-generated from RSS feed This Week in Rust. Source: This Week in Rust 607
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.bsky.social on Bluesky 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 flac-coded, an implementation of (unsurprisingly) the Free Lossless Audio Codec (FLAC) file format.
Thanks to tuffy for the 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.
If you are a feature implementer and would like your RFC to appear in this list, add a
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.
Let us know if you would like your feature to be tracked as a part of this list.
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.
No Calls for papers or presentations were submitted this week.
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!
588 pull requests were merged in the last week
macro_rules!
parser to not use the MBE engine itselfunused_parens
around typesunsafe
in VecCachemixed_integer_ops_unsigned_sub
Vec::into_chunks
const Rem
Result<(), E>
{Box,Arc,Rc,Weak}::into_raw
to only work with A = Global
name = "foo.rs"
neg_multiply
should preserve parenthesis when method is calleddoc_nested_refdefs
: do not falsely report checkboxes as refdefsor_fun_call
: also lint and
method for Option
/Result
as
if it changes the typestd-instead-of-core
false positive when not all items come from the new crateredundant_closure_call
: lint for closures with blockmanual_let_else
accept-comment-above-attributes
to statementsreturn_and_then
: prevent false positives in case of a partially used expressionAsMut
, Borrow
and BorrowMut
to minicore and famous_defs
fn load_workspace_into_db
variant for ra_ap_load_cargo
's fn load_workspace
--compile-time-deps
withenum
variants in world symbolsNone
rust-analyzer.cargo.noDeps
option when fetching sysroot metadatamacro_calls!
Busy week. Results are dominated by changes that trade some wins for some losses in small incremental scenarios. We also had a lot of noise and spurious small changes on various PRs. Some regressions come from perf related work where we expect to get some wins back later.
Triage done by @panstromek. Revision range: ad3b7257..0d11be5a
Summary:
Note: We switched to a new benchmark machine at the begining of the period. We show summary based on slightly adjusted range 6988a8fe..8df4a58a to avoid misleading comparisons from different machines.
(instructions:u) | mean | range | count |
---|---|---|---|
Regressions ❌ (primary) |
1.1% | [0.2%, 4.3%] | 128 |
Regressions ❌ (secondary) |
1.0% | [0.2%, 3.9%] | 84 |
Improvements ✅ (primary) |
-3.5% | [-7.2%, -0.2%] | 48 |
Improvements ✅ (secondary) |
-5.1% | [-42.6%, -0.2%] | 68 |
All ❌✅ (primary) | -0.2% | [-7.2%, 4.3%] | 176 |
3 Regressions, 3 Improvements, 11 Mixed; 6 of them in rollups 44 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.
No Items entered Final Comment Period this week for Rust RFCs, Cargo, Language Team or Unsafe Code Guidelines.
Let us know if you would like your PRs, Tracking Issues or RFCs to be tracked as a part of this list.
Rusty Events between 2025-07-09 - 2025-08-06 🦀
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
You might be asking: why did you rewrite [...] in Rust? And yeah, I don’t really have a good reason. It’s a hobby project. Like gardening, but with more segfaults.
– Collin Richards on their blog
Thanks to robin 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