You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: draft/2025-02-12-this-week-in-rust.md
+137-3Lines changed: 137 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,7 +53,9 @@ and just ask the editors to select the category.
53
53
54
54
## Crate of the Week
55
55
56
-
<!-- COTW goes here -->
56
+
This week's crate is [esp32-mender-client](https://github.com/virust-ai/esp32-mender-client), a client for ESP32 to execute firmware updates and remote commands.
57
+
58
+
Thanks to [Kelvin](https://users.rust-lang.org/t/crate-of-the-week/2704/1399) for the self-suggestion!
57
59
58
60
[Please submit your suggestions and votes for next week][submit_crate]!
59
61
@@ -105,7 +107,135 @@ If you are an event organizer hoping to expand the reach of your event, please s
105
107
106
108
## Updates from the Rust Project
107
109
108
-
<!-- Rust updates go here -->
110
+
462 pull requests were [merged in the last week][merged]
*[add note about `FnPtr` trait being exposed as public bound](https://github.com/rust-lang/rust/pull/136518)
118
+
*[allow using named consts in pattern types](https://github.com/rust-lang/rust/pull/136284)
119
+
*[always compute coroutine layout for eagerly emitting recursive layout errors](https://github.com/rust-lang/rust/pull/136073)
120
+
*[avoid calling the `layout_of` query in `lit_to_const`](https://github.com/rust-lang/rust/pull/136302)
121
+
*[avoid using `make_direct_deprecated()` in extern "ptx-kernel"](https://github.com/rust-lang/rust/pull/133932)
122
+
*[check Sizedness of return type in WF](https://github.com/rust-lang/rust/pull/136274)
123
+
*[compiler: gate `extern "{abi}"` in `ast_lowering`](https://github.com/rust-lang/rust/pull/136603)
124
+
*[couple of changes to run rustc in miri](https://github.com/rust-lang/rust/pull/136580)
125
+
*[coverage: defer part of counter-creation until codegen](https://github.com/rust-lang/rust/pull/136053)
126
+
*[debuginfo for function ZSTs should have alignment of 8 bits, not 1 bit](https://github.com/rust-lang/rust/pull/136640)
127
+
*[detect (non-raw) borrows of null ZST pointers in CheckNull](https://github.com/rust-lang/rust/pull/136601)
128
+
*[disallow `repr()` on invalid items](https://github.com/rust-lang/rust/pull/133925)
129
+
*[display of integers without raw pointers and without `overflowing_literals`](https://github.com/rust-lang/rust/pull/135265)
130
+
*[don't reset cast kind without also updating the operand in `simplify_cast` in GVN](https://github.com/rust-lang/rust/pull/136450)
131
+
*[emit an error if `-Zdwarf-version=1` is requested](https://github.com/rust-lang/rust/pull/136746)
132
+
*[ensure that we never try to monomorphize the upcasting or vtable calls of impossible dyn types](https://github.com/rust-lang/rust/pull/136311)
133
+
*[fix `rustc_hidden_type_of_opaques` for RPITITs with no default body](https://github.com/rust-lang/rust/pull/136550)
134
+
*[fix `unreachable_pub` lint for hermit target](https://github.com/rust-lang/rust/pull/136595)
135
+
*[fix accidentally not emitting overflowing literals lints anymore in patterns](https://github.com/rust-lang/rust/pull/136393)
136
+
*[fix suggestion for `dependency_on_unit_never_type_fallback` involving closures + format args expansions](https://github.com/rust-lang/rust/pull/136598)
*[transmutability: fix ICE when passing wrong ADT to ASSUME](https://github.com/rust-lang/rust/pull/136730)
159
+
*[uefi: process: add support for command environment variables](https://github.com/rust-lang/rust/pull/136418)
160
+
*[upgrade elsa to the newest version](https://github.com/rust-lang/rust/pull/136094)
161
+
*[use +secure-plt for powerpc-unknown-linux-gnu{,spe}](https://github.com/rust-lang/rust/pull/136154)
162
+
*[use `widening_mul` instead of a separate function](https://github.com/rust-lang/rust/pull/136409)
163
+
*[use an `Option` for `FindNextFileHandle` in `ReadDir` instead of `INVALID_FILE_HANDLE` sentinel value](https://github.com/rust-lang/rust/pull/136552)
164
+
*[use short ty string for binop and unop errors](https://github.com/rust-lang/rust/pull/136315)
165
+
*[visit all debug info in MIR Visitor](https://github.com/rust-lang/rust/pull/136722)
*[clippy: `path_buf_push_overwrite`: mark suggestion as `MaybeIncorrect`](https://github.com/rust-lang/rust-clippy/pull/14010)
202
+
*[clippy: `useless_asref`: no lint if in a closure to change the ref depth](https://github.com/rust-lang/rust-clippy/pull/14090)
203
+
*[clippy: add MSRV check for `lines_filter_map_ok`](https://github.com/rust-lang/rust-clippy/pull/14130)
204
+
*[clippy: add MSRV check for `manual_flatten`](https://github.com/rust-lang/rust-clippy/pull/14086)
205
+
*[clippy: allow `assign_op_pattern` in the test of `string_add`](https://github.com/rust-lang/rust-clippy/pull/14143)
206
+
*[clippy: autofix for `range_zip_with_len`](https://github.com/rust-lang/rust-clippy/pull/14136)
207
+
*[clippy: change the applicability of `if_then_some_else_none` to `MachineApplicable`](https://github.com/rust-lang/rust-clippy/pull/14106)
208
+
*[clippy: correct "Affected lints" for `allow-one-hash-in-raw-strings`](https://github.com/rust-lang/rust-clippy/pull/14186)
209
+
*[clippy: correct version of `doc_overindented_list_items`](https://github.com/rust-lang/rust-clippy/pull/14152)
210
+
*[clippy: deprecate redundant lint `option_map_or_err_ok` and take `manual_ok_or` out of pedantic](https://github.com/rust-lang/rust-clippy/pull/14027)
211
+
*[clippy: do not trigger `[size_of_in_element_count]` for `u8`](https://github.com/rust-lang/rust-clippy/pull/14011)
212
+
*[clippy: don't emit suggestion inside macro in `manual_async_fn`](https://github.com/rust-lang/rust-clippy/pull/14142)
213
+
*[clippy: don't use labeled block as top-level blocks](https://github.com/rust-lang/rust-clippy/pull/14102)
214
+
*[clippy: fix ICE in `unnecessary_mut_passed`](https://github.com/rust-lang/rust-clippy/pull/14065)
215
+
*[clippy: fix `let_and_return` with temporary variables, and distinguish between Rust editions](https://github.com/rust-lang/rust-clippy/pull/14180)
216
+
*[clippy: fix `obfuscated_if_else` suggestion on left side of a binary expr](https://github.com/rust-lang/rust-clippy/pull/14124)
217
+
*[clippy: fix docs for `#[clippy::format_args]`](https://github.com/rust-lang/rust-clippy/pull/14161)
218
+
*[clippy: fix: `manual_unwrap_or_default` suggests falsely when condition type is uncertain](https://github.com/rust-lang/rust-clippy/pull/13889)
219
+
*[clippy: handle more cases in `is_normalizable`](https://github.com/rust-lang/rust-clippy/pull/13833)
220
+
*[clippy: make empty-line-after an early clippy lint](https://github.com/rust-lang/rust/pull/136657)
221
+
*[clippy: make `manual_map` ignore types that contain `dyn`](https://github.com/rust-lang/rust-clippy/pull/12712)
222
+
*[clippy: move `mutex_integer` to restriction and improve `mutex_`{`integer`, `atomic`} docs](https://github.com/rust-lang/rust-clippy/pull/14110)
223
+
*[clippy: skip `use_self` inside macro expansions of a `impl Self` block](https://github.com/rust-lang/rust-clippy/pull/13128)
224
+
*[clippy: two improvements to `disallowed_*`](https://github.com/rust-lang/rust-clippy/pull/13669)
225
+
*[clippy: use MIR body to identify more "default equivalent" calls for `derivable_impls`](https://github.com/rust-lang/rust-clippy/pull/13988)
226
+
*[clippy: use parentheses when needed in `nonminimal_bool` lint](https://github.com/rust-lang/rust-clippy/pull/14187)
227
+
*[rust-analyzer: fix off-by-one error in RangeFormatting](https://github.com/rust-lang/rust-analyzer/pull/19124)
228
+
*[rust-analyzer: don't emit empty scip occurrence for builtins](https://github.com/rust-lang/rust-analyzer/pull/19105)
229
+
*[rust-analyzer: fix IDE resolution of `use` inside a body](https://github.com/rust-lang/rust-analyzer/pull/19094)
230
+
*[rust-analyzer: if item exsits on module, resolve as module instead of type](https://github.com/rust-lang/rust-analyzer/pull/19088)
231
+
*[rust-analyzer: resolve projection types before checking casts](https://github.com/rust-lang/rust-analyzer/pull/19106)
232
+
*[rust-analyzer: upmap ranges in `convert_tuple_struct_to_named_struct` assist](https://github.com/rust-lang/rust-analyzer/pull/18912)
233
+
*[rust-analyzer: line-index: don't try to use (unavailable) neon on big-endian aarch64](https://github.com/rust-lang/rust-analyzer/pull/19083)
234
+
*[rust-analyzer: option to disable inlay Type hints for Closure parameters](https://github.com/rust-lang/rust-analyzer/pull/19104)
235
+
*[rust-analyzer: organise chapters in mdbook sidebar](https://github.com/rust-lang/rust-analyzer/pull/19115)
236
+
*[rust-analyzer: prevent panics from tearing down worker threads](https://github.com/rust-lang/rust-analyzer/pull/19093)
237
+
*[rust-analyzer: split cache priming into distinct phases](https://github.com/rust-lang/rust-analyzer/pull/19084)
238
+
*[rust-analyzer: use interior mutability for loaded `ProcMacrorv::expanders`](https://github.com/rust-lang/rust-analyzer/pull/19099)
109
239
110
240
### Rust Compiler Performance Triage
111
241
@@ -303,7 +433,11 @@ Please see the latest [Who's Hiring thread on r/rust](INSERT_LINK_HERE)
303
433
304
434
# Quote of the Week
305
435
306
-
<!-- QOTW goes here -->
436
+
> Just because things are useful doesn't mean they are magically sound.
437
+
438
+
– [Ralf Jung on github](https://github.com/rust-lang/rust/issues/132442#issuecomment-2636065726)
439
+
440
+
Thanks to [scottmcm](https://users.rust-lang.org/t/twir-quote-of-the-week/328/1658) for the suggestion!
307
441
308
442
[Please submit quotes and vote for next week!](https://users.rust-lang.org/t/twir-quote-of-the-week/328)
0 commit comments