2023-12-20
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 constcat, a std::concat!-replacement with support for const variables and expressions.
Thanks to Ross MacArthur for the self-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.
nodes/models/secure_channelSqlxDatabaseIf you are a Rust project owner and are looking for contributors, please submit tasks here.
386 pull requests were merged in the last week
cherry-pick "M68k: Fix ODR violation in GISel code (#72797)"
add unstable -Zdefault-hidden-visibility cmdline flag for rustc
collect lang items from AST, get rid of GenericBound::LangItemTrait
coverage: skip instrumenting a function if no spans were extracted from MIR
desugar yield in async gen correctly, ensure gen always returns unit
erase late bound regions from Instance::fn_sig() and add a few more details to StableMIR APIs
fix dynamic size/align computation logic for packed types with dyn trait tail
make IMPLIED_BOUNDS_ENTAILMENT into a hard error from a lint
more expressions correctly are marked to end with curly braces
opportunistically resolve region var in canonicalizer (instead of resolving root var)
resolve: replace visibility table in resolver outputs with query feeding
miri: visit the AllocIds and BorTags in borrow state FrameExtra
codegen: panic when trying to compute size/align of extern type
codegen_gcc: simd: implement missing intrinsics from simd/generic-arithmetic-pass.rs
rustdoc: use Map instead of Object for source files and search index
rustdoc-search: fix a race condition in search index loading
clippy: new Lint: result_filter_map / Mirror of option_filter_map
clippy: redundant_pattern_matching: lint if let true, while let true, matches!(.., true)
clippy: do not lint assertions_on_constants for const _: () = assert!(expr)
clippy: doc_markdown Recognize words followed by empty parentheses () for quoting
rust-analyzer: fix false positive type mismatch in const reference patterns
rust-analyzer: syntax fixup now removes subtrees with fake spans
rust-analyzer: fix fragment parser replacing matches with dummies on incomplete parses
Rusty Events between 2023-12-20 - 2024-01-17 🦀
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 Tianyi-33 satellite is a 50kg class space science experimental satellite equipped with an operating system independently developed by Beijing University of Posts and Telecommunications—the Rust-based dual-kernel real-time operating system RROS. RROS will carry out general tasks represented by tensorflow/k8s and real-time tasks represented by real-time file systems and real-time network transmission on the satellite. It will ensure the normal execution of upper-layer applications and scientific research tasks, such as time-delay measurement between satellite and ground, live video broadcasting, onboard web chat services, pseudo-SSH experiments, etc. This marks the world’s first official application of a Rust-written dual-kernel operating system in a satellite scenario.
Thanks to Brian Kung 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