Skip to content

Commit 8f9c746

Browse files
committed
C/QotW and notable changes
1 parent c9542f8 commit 8f9c746

File tree

1 file changed

+89
-3
lines changed

1 file changed

+89
-3
lines changed

draft/2025-04-23-this-week-in-rust.md

+89-3
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@ and just ask the editors to select the category.
5050

5151
## Crate of the Week
5252

53-
<!-- COTW goes here -->
53+
This week's crate is [Maycoon](https://maycoon-ui.github.io/), an experimental vello/wGPU-based UI framework.
54+
55+
Thanks to [DraftedDev](https://users.rust-lang.org/t/crate-of-the-week/2704/1431) for the self-suggestion!
5456

5557
[Please submit your suggestions and votes for next week][submit_crate]!
5658

@@ -109,7 +111,87 @@ If you are an event organizer hoping to expand the reach of your event, please s
109111

110112
## Updates from the Rust Project
111113

112-
<!-- Rust updates go here -->
114+
465 pull requests were [merged in the last week][merged]
115+
116+
[merged]: https://github.com/search?q=is%3Apr+org%3Arust-lang+is%3Amerged+merged%3A2025-04-15..2025-04-22
117+
118+
#### Compiler
119+
120+
* [avoid overflow when generating debuginfo for expanding recursive types](https://github.com/rust-lang/rust/pull/138599)
121+
* [deref patterns: implement implicit deref patterns](https://github.com/rust-lang/rust/pull/138528)
122+
* [fix wrong "move keyword" suggestion for async gen block](https://github.com/rust-lang/rust/pull/139871)
123+
* [improve parse errors for stray lifetimes in type position](https://github.com/rust-lang/rust/pull/139854)
124+
* [make `#[naked]` an unsafe attribute](https://github.com/rust-lang/rust/pull/139753)
125+
* [rewrite `on_unimplemented` format string parser](https://github.com/rust-lang/rust/pull/139091)
126+
127+
#### Miri
128+
129+
* [miri: implement file deletion on Windows](https://github.com/rust-lang/miri/pull/4260)
130+
* [miri: use std-declared intrinsics rather than copying the declaration](https://github.com/rust-lang/miri/pull/4274)
131+
132+
#### Library
133+
134+
* [add `next_index` to Enumerate](https://github.com/rust-lang/rust/pull/139533)
135+
* [add retries to remove and create dir all](https://github.com/rust-lang/rust/pull/139870)
136+
* [`sync::mpsc`: prevent double free on `Drop`](https://github.com/rust-lang/rust/pull/139553)
137+
* [implement `Default` for raw pointers](https://github.com/rust-lang/rust/pull/139535)
138+
* [implement `pin!()` using `super let`](https://github.com/rust-lang/rust/pull/139114)
139+
* [stabilize `-Zdwarf-version` as `-Cdwarf-version`](https://github.com/rust-lang/rust/pull/136926)
140+
* [stabilize `cfg_boolean_literals`](https://github.com/rust-lang/rust/pull/138632)
141+
* [stabilize `naked_functions`](https://github.com/rust-lang/rust/pull/134213)
142+
* [simd intrinsics with mask: accept unsigned integer masks, and fix some of the errors](https://github.com/rust-lang/rust/pull/137953)
143+
* [add `vec_extract`, `vec_insert`, `vec_promote` and `vec_insert_and_zero`](https://github.com/rust-lang/stdarch/pull/1772)
144+
145+
#### Cargo
146+
147+
* [use `zlib-rs` for gzip compression in rust code](https://github.com/rust-lang/cargo/pull/15417)
148+
149+
#### Rustdoc
150+
151+
* [fix error when an intra doc link is trying to resolve an empty associated item](https://github.com/rust-lang/rust/pull/140052)
152+
* [rustdoc-json: output target feature information](https://github.com/rust-lang/rust/pull/139393)
153+
* [support inlined cross-crate re-exported trait aliases](https://github.com/rust-lang/rust/pull/139943)
154+
155+
#### Clippy
156+
157+
* [clippy: `bool_to_int_with_if`: properly handle macros](https://github.com/rust-lang/rust-clippy/pull/14629)
158+
* [clippy: `empty_enum_variants_with_brackets`: Do not lint reachable enums and `enum` variants used as functions in the same crate](https://github.com/rust-lang/rust-clippy/pull/12971)
159+
* [clippy: `iter_kv_map`: recognize references on maps as well](https://github.com/rust-lang/rust-clippy/pull/14596)
160+
* [clippy: `manual_ok_err`: don't lint subpatterns](https://github.com/rust-lang/rust-clippy/pull/14661)
161+
* [clippy: `match_single_binding`: allow macros in scrutinee and patterns](https://github.com/rust-lang/rust-clippy/pull/14635)
162+
* [clippy: `missing_asserts_for_indexing`: consider `assert_eq!()` as well](https://github.com/rust-lang/rust-clippy/pull/14258)
163+
* [clippy: `ptr_cast_constness`: show snippet from the right context](https://github.com/rust-lang/rust-clippy/pull/14622)
164+
* [clippy: build complete usable type from a type-relative prefix](https://github.com/rust-lang/rust-clippy/pull/14586)
165+
* [clippy: check for lifetime uses in closures as well](https://github.com/rust-lang/rust-clippy/pull/14608)
166+
* [clippy: do not recurse forever in `significant_drop_tightening`](https://github.com/rust-lang/rust-clippy/pull/14641)
167+
* [clippy: fix `question_mark` suggesting when type is behind Deref include parentheses](https://github.com/rust-lang/rust-clippy/pull/14655)
168+
* [clippy: fix: `unnecessary_lazy_evaluations` suggests wrongly for async closure](https://github.com/rust-lang/rust-clippy/pull/14644)
169+
* [clippy: make `borrow_as_ptr` flag implicit casts as well](https://github.com/rust-lang/rust-clippy/pull/14408)
170+
* [clippy: new lint: `redundant_test_prefix`](https://github.com/rust-lang/rust-clippy/pull/13710)
171+
* [clippy: new lint: `swap_with_temporary`](https://github.com/rust-lang/rust-clippy/pull/14046)
172+
* [clippy: replace interning of string literals with preinterned symbols](https://github.com/rust-lang/rust-clippy/pull/14650)
173+
174+
#### Rust-Analyzer
175+
176+
* [rust-analyzer: add semicolon to use](https://github.com/rust-lang/rust-analyzer/pull/19604)
177+
* [rust-analyzer: allow training PGO on a custom crate and enable it Windows on CI](https://github.com/rust-lang/rust-analyzer/pull/19585)
178+
* [rust-analyzer: allow using `null` to unset an environment variable](https://github.com/rust-lang/rust-analyzer/pull/19629)
179+
* [rust-analyzer: build aarch64 builds on CI with PGO](https://github.com/rust-lang/rust-analyzer/pull/19597)
180+
* [rust-analyzer: don't ignore config values that fail to parse](https://github.com/rust-lang/rust-analyzer/pull/19628)
181+
* [rust-analyzer: add `pub(crate) mod` option for unlinked files](https://github.com/rust-lang/rust-analyzer/pull/19590)
182+
* [rust-analyzer: allow unsetting env vars in `server.extraEnv` config](https://github.com/rust-lang/rust-analyzer/pull/19634)
183+
* [rust-analyzer: enhance signature help to display generic parameters for callables and default values for generic args](https://github.com/rust-lang/rust-analyzer/pull/19596)
184+
* [rust-analyzer: parse `super let`](https://github.com/rust-lang/rust-analyzer/pull/19653)
185+
* [rust-analyzer: parse generic consts](https://github.com/rust-lang/rust-analyzer/pull/19643)
186+
* [rust-analyzer: `Extract into` function include inline variable in fmt macro](https://github.com/rust-lang/rust-analyzer/pull/19588)
187+
* [rust-analyzer: fix `completion_snippets_custom` config always erroring](https://github.com/rust-lang/rust-analyzer/pull/19636)
188+
* [rust-analyzer: fix a bug with predicate lowering of associated items](https://github.com/rust-lang/rust-analyzer/pull/19612)
189+
* [rust-analyzer: fix a panic when a trait method in an impl declares a lifetime parameter not in the trait declaration](https://github.com/rust-lang/rust-analyzer/pull/19613)
190+
* [rust-analyzer: highlighting for tail expr in labelled blocks](https://github.com/rust-lang/rust-analyzer/pull/19589)
191+
* [rust-analyzer: sort notable traits in hover](https://github.com/rust-lang/rust-analyzer/pull/19619)
192+
* [rust-analyzer: support unstable `UnsafePinned struct` in type layout calc](https://github.com/rust-lang/rust-analyzer/pull/19650)
193+
* [rust-analyzer: use PGO on Linux x64 builds](https://github.com/rust-lang/rust-analyzer/pull/19595)
194+
* [rust-analyzer: use PGO on macOS x64 and arm64 builds](https://github.com/rust-lang/rust-analyzer/pull/19611)
113195

114196
### Rust Compiler Performance Triage
115197

@@ -292,7 +374,11 @@ Please see the latest [Who's Hiring thread on r/rust](INSERT_LINK_HERE)
292374

293375
# Quote of the Week
294376

295-
<!-- QOTW goes here -->
377+
> I don’t think about rust either. That’s a compiler’s job
378+
379+
[Steve Klabnik on Bluesky](https://bsky.app/profile/steveklabnik.com/post/3lmtavr5ni22l)
380+
381+
Thanks to [Matt Wismer](https://users.rust-lang.org/t/twir-quote-of-the-week/328/1677) for the suggestion!
296382

297383
[Please submit quotes and vote for next week!](https://users.rust-lang.org/t/twir-quote-of-the-week/328)
298384

0 commit comments

Comments
 (0)