Info
This post is auto-generated from RSS feed This Week in Rust. Source: This Week in Rust 511
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 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.
This week's crate is str0m, a synchronous sans-IO WebRTC implementation.
Thanks to Hugo Tunius 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.
ockam tcp-outlet create
If you are a Rust project owner and are looking for contributors, please submit tasks here.
357 pull requests were merged in the last week
rustc_llvm
: Link to zlib
on dragonfly and solarisParallelGuard
type to handle unwinding in parallel sectionsBOOTSTRAP_SKIP_TARGET_SANITY
is setLC_BUILD_VERSION
for metadata object filescurl
executionsunused_parens
on x as (T) < y
struct
ExprField
and PatField
HIR nodesinclude_str!/include_bytes!
impl
in generic trait bound positionUniverseInfo
sSized
and ConstParamHasTy
add_coverage
Or
pattern without allocating placeget_return_block()
return Some
only for HIR nodes in bodytermcolor
types public in rustc_errors
repr(transparent)
wrappers as compatibleprint_backtrace
when ICEing on unexpected errorsDepKind
as u16
OnceLock
for SingleCache
os_str_bytes
featureimpl TryFrom<char> for u16
is_ascii
Take::{fold, for_each}
when wrapping TrustedRandomAccess
iteratorsStep
for ascii::Char
Cell::swap
panic if the Cells partially overlapclone_from
actions-rs/toolchain@v1
to dtolnay/rust-toolchain@master
and remove Cross.toml
noalias
function parameters--target
valuesimplied_bounds_in_impls
: don't ICE on default generic parameter and move to nurseryexplicit_iter_loop
vec!
invocationsneedless_borrow
explicit_auto_deref
immediately after needless_borrow
iter_out_of_bounds
missing_asserts_for_indexing
never_loop
as a strict reachability passnever_loop
catches loop { panic!() }
todo!()
in never_loop
.
, )
without prefix as item markerA lot of spurious noise this week from a few benchmarks (bitmaps-3.1.0, libc, and even cargo-0.60.0 at a few points). Beyond that, we had a few small improvements associated with the trait system and with parallel-rustc.
Triage done by @pnkfelix. Revision range: cedbe5c7..15e52b05
4 Regressions, 7 Improvements, 8 Mixed; 2 of them in rollups 66 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.
PATH
option for --print KIND=PATH
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-09-06 - 2023-10-04 ๐ฆ
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
Rusts standard library, and a lot of the popular crates, are like a museum. While it does change, as new exhibitions are added, it is mostly finished. Each painting has a detailed explanation in 7 different languages underneath. Descriptions below each excitation are written beautifully, with detailed drawings, showing how everything works. It is so easy to navigate, one glance at the map is enough to find exactly what you are looking for. It is so convenient, you almost don't notice that you are learning something.
Internals of
rustc
are like a build site of a sprawling factory. You can see the scaffolds everywhere, as more production lines come online, and everything gets faster, better, bigger. Workers move around, knowing the place like the back of their hands. They can glance at the signs on the walls, and instantly tell you: where you are, what this place does and what pitfalls you should avoid. And you are a new hire who has just came for his first day at the new job. You look at the sign, and after some thinking, you too are able to tell roughly in which building you are. The signs almost always tell you what you need, just in short, cryptic sentences. You always can tell what is going on, with some thinking, but it is not effortless. The signs on the walls are not bad, just not written for anyone to get right away.
Thanks to Alona Enraght-Moony 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