Warning
This post was published 64 days ago. The information described in this article may have changed.
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 lepton-jpeg-rust, Microsoft's port of Dropbox' lepton space-saving JPEG compressor library to Rust.
Thanks to Kornel for the 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.
Pinned-Dependencies
check to block CIIf 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!
351 pull requests were merged in the last week
missing_docs
lint with --test
to fulfil expectationsrustc_transmute
naked_asm!
outside of #[naked]
functionsFn
shim for async closure with borrowck errortypeck_root_def_id
in codegen for finding closure's rootParser::break_up_float
's right spancall_once
and friendsmissing_docs
and #[test]
Stmt
nodeslibc::link
usage to nto70
target only, not NTO OStrack_caller
in Miri for nicer backtraces--stage=0
ERROR_CANT_RESOLVE_FILENAME
to ErrorKind::FilesystemLoop
WSAEDQUOT
to ErrorKind::FilesystemQuotaExceeded
const gen fn
note
when specified in diagnostic::on_unimplemented
clashing_extern_declarations
lintstruct
variantsimd_shuffle
: require index argument to be a vectorget_ptr_alloc_mut
: lookup allocation only oncepthread_cond_t
is moved&mut
(and *mut
) as well as &Cell(and
*const Cell) in const
const_extern_fn
entry_insert
io_error_more
PartialEq
for ExitCode
Option::unwrap_unchecked
into const_option
feature gateNonNull
convenience methods to Box
and Vec
core::panic::abort_unwind
BufReader::peek
string_from_utf8_lossy_owned
for lossy conversion from Vec<u8>
to String
methods#[inline(always)]
on clone_arc_raw
stream::Iter
fix(vendor)
: trust crate version only when coming from registriesshell_completions
testscargo -Z <TAB>
issue-\d+.rs
tests to have meaningful names (part 9)config_proc_macro
: reduce syn's featuresfmt::Display
for FileName
ptr_arg
duplicated_attributes
on duplicate reasonsconst_float_bits_conv
replace_qualified_name_with_use
applies to the first path segmentinline_const_as_literal
error when the number >= 10i128::MAX
generate_delegate_trait
A relatively quiet week, with overall neutral performance across our set of key metrics (instructions, cycles, memory).
Triage done by @simulacrum. Revision range: 263a3aee..170d6cb8
2 Regressions, 3 Improvements, 4 Mixed; 2 of them in rollups 54 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.
[disposition: merge] Allow build scripts to report error messages through cargo::error
feature unification
Rusty Events between 2024-09-18 - 2024-10-16 🦀
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
[Rust] is a conspiracy to popularize programing language concepts from the 80s
llogiq is quite thankful to himself for the suggestion!
Please submit quotes and vote for next week!
This Week in Rust is edited by: nellshamrell, llogiq, cdmistman, ericseppanen, extrawurst, andrewpollack, U007D, kolharsam, joelmarcey, mariannegoldin, bennyvasquez.
Email list hosting is sponsored by The Rust Foundation
🏷️ Rust_feed