Warning
This post was published 258 days ago. The infomation 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 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. If you find any errors in this week's issue, please submit a PR.
This week's crate is duplicate, a proc macro crate for easy parametric code duplication.
Thanks to Anton Fetisov for the suggestion!
Please submit your suggestions and votes for next week!
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.
391 pull requests were merged in the last week
match
expression in binary expressionconcat!
as
castsConstProp
Fn
obligations with bound vars in the self type&mut *x
as mutating x
in CopyProp
suspicious_auto_trait_impls
lint for negative impls as wellensure()
rustc-main
.poll()
not found on impl Future
Fn*
traitsdyn*
and const closures in macrosrun-make/translation
failslower_impl_trait_in_trait_to_assoc_ty
unused_allocation
lint against Box::new
tooasm!
operandsCopy
impl messagebox_syntax
nonzero_min_max
path_as_mut_os_str
round_ties_even
to f32
and f64
ptr::from_ref
and ptr::from_mut
constOption::as_slice
to an always-sound implementationArc::downgrade
Rc::into_inner
, as a parallel to Arc::into_inner
AbortRegistration::handle
TryFlattenUnordered
: propagate base stream errorcargo install --git
multiple packages with binaries found hintcrate
references in blocksFnDecl::inner_full_print
collection_is_never_read
let_with_type_underscore
lintmissing_assert_message
lintredundant_async_block
lintpopular-crates
binarymanual_clamp
in const contextsmatch_single_binding
no_mangle_with_rust_abi
len_without_is_empty
arithmetic_side_effects
fix false positive on shiftsproc_macro
dependencies&!
cargo
args when running build scriptspath_to_const
rustc_private
cratesA fairly mixed week, with several significant improvements and a few significant regressions. On average, this week saw a slight increase in compile times.
Triage done by @simulacrum. Revision range: 8f9e09ac..0058748
4 Regressions, 6 Improvements, 4 Mixed; 2 of them in rollups 39 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.
{Arc, Rc}::into_inner
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.
Rusty Events between 2023-03-15 - 2023-04-12 🦀
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
The Rust compiler is a thousand unit tests that you don't have to write
– Someone, likely Ian Purton on the Cloak blog
Thanks to Stephan Sokolow 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