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
@@ -50,7 +50,9 @@ and just ask the editors to select the category.
50
50
51
51
## Crate of the Week
52
52
53
-
<!-- COTW goes here -->
53
+
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.
54
+
55
+
Thanks to [Kelvin](https://users.rust-lang.org/t/crate-of-the-week/2704/1399) for the self-suggestion!
54
56
55
57
[Please submit your suggestions and votes for next week][submit_crate]!
56
58
@@ -109,7 +111,135 @@ If you are an event organizer hoping to expand the reach of your event, please s
109
111
110
112
## Updates from the Rust Project
111
113
112
-
<!-- Rust updates go here -->
114
+
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)
122
+
*[allow using named consts in pattern types](https://github.com/rust-lang/rust/pull/136284)
123
+
*[always compute coroutine layout for eagerly emitting recursive layout errors](https://github.com/rust-lang/rust/pull/136073)
124
+
*[avoid calling the `layout_of` query in `lit_to_const`](https://github.com/rust-lang/rust/pull/136302)
125
+
*[avoid using `make_direct_deprecated()` in extern "ptx-kernel"](https://github.com/rust-lang/rust/pull/133932)
126
+
*[check Sizedness of return type in WF](https://github.com/rust-lang/rust/pull/136274)
127
+
*[compiler: gate `extern "{abi}"` in `ast_lowering`](https://github.com/rust-lang/rust/pull/136603)
128
+
*[couple of changes to run rustc in miri](https://github.com/rust-lang/rust/pull/136580)
129
+
*[coverage: defer part of counter-creation until codegen](https://github.com/rust-lang/rust/pull/136053)
130
+
*[debuginfo for function ZSTs should have alignment of 8 bits, not 1 bit](https://github.com/rust-lang/rust/pull/136640)
131
+
*[detect (non-raw) borrows of null ZST pointers in CheckNull](https://github.com/rust-lang/rust/pull/136601)
132
+
*[disallow `repr()` on invalid items](https://github.com/rust-lang/rust/pull/133925)
133
+
*[display of integers without raw pointers and without `overflowing_literals`](https://github.com/rust-lang/rust/pull/135265)
134
+
*[don't reset cast kind without also updating the operand in `simplify_cast` in GVN](https://github.com/rust-lang/rust/pull/136450)
135
+
*[emit an error if `-Zdwarf-version=1` is requested](https://github.com/rust-lang/rust/pull/136746)
136
+
*[ensure that we never try to monomorphize the upcasting or vtable calls of impossible dyn types](https://github.com/rust-lang/rust/pull/136311)
137
+
*[fix `rustc_hidden_type_of_opaques` for RPITITs with no default body](https://github.com/rust-lang/rust/pull/136550)
138
+
*[fix `unreachable_pub` lint for hermit target](https://github.com/rust-lang/rust/pull/136595)
139
+
*[fix accidentally not emitting overflowing literals lints anymore in patterns](https://github.com/rust-lang/rust/pull/136393)
140
+
*[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)
163
+
*[uefi: process: add support for command environment variables](https://github.com/rust-lang/rust/pull/136418)
164
+
*[upgrade elsa to the newest version](https://github.com/rust-lang/rust/pull/136094)
165
+
*[use +secure-plt for powerpc-unknown-linux-gnu{,spe}](https://github.com/rust-lang/rust/pull/136154)
166
+
*[use `widening_mul` instead of a separate function](https://github.com/rust-lang/rust/pull/136409)
167
+
*[use an `Option` for `FindNextFileHandle` in `ReadDir` instead of `INVALID_FILE_HANDLE` sentinel value](https://github.com/rust-lang/rust/pull/136552)
168
+
*[use short ty string for binop and unop errors](https://github.com/rust-lang/rust/pull/136315)
169
+
*[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)
206
+
*[clippy: `useless_asref`: no lint if in a closure to change the ref depth](https://github.com/rust-lang/rust-clippy/pull/14090)
207
+
*[clippy: add MSRV check for `lines_filter_map_ok`](https://github.com/rust-lang/rust-clippy/pull/14130)
208
+
*[clippy: add MSRV check for `manual_flatten`](https://github.com/rust-lang/rust-clippy/pull/14086)
209
+
*[clippy: allow `assign_op_pattern` in the test of `string_add`](https://github.com/rust-lang/rust-clippy/pull/14143)
210
+
*[clippy: autofix for `range_zip_with_len`](https://github.com/rust-lang/rust-clippy/pull/14136)
211
+
*[clippy: change the applicability of `if_then_some_else_none` to `MachineApplicable`](https://github.com/rust-lang/rust-clippy/pull/14106)
212
+
*[clippy: correct "Affected lints" for `allow-one-hash-in-raw-strings`](https://github.com/rust-lang/rust-clippy/pull/14186)
213
+
*[clippy: correct version of `doc_overindented_list_items`](https://github.com/rust-lang/rust-clippy/pull/14152)
214
+
*[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)
215
+
*[clippy: do not trigger `[size_of_in_element_count]` for `u8`](https://github.com/rust-lang/rust-clippy/pull/14011)
216
+
*[clippy: don't emit suggestion inside macro in `manual_async_fn`](https://github.com/rust-lang/rust-clippy/pull/14142)
217
+
*[clippy: don't use labeled block as top-level blocks](https://github.com/rust-lang/rust-clippy/pull/14102)
218
+
*[clippy: fix ICE in `unnecessary_mut_passed`](https://github.com/rust-lang/rust-clippy/pull/14065)
219
+
*[clippy: fix `let_and_return` with temporary variables, and distinguish between Rust editions](https://github.com/rust-lang/rust-clippy/pull/14180)
220
+
*[clippy: fix `obfuscated_if_else` suggestion on left side of a binary expr](https://github.com/rust-lang/rust-clippy/pull/14124)
221
+
*[clippy: fix docs for `#[clippy::format_args]`](https://github.com/rust-lang/rust-clippy/pull/14161)
222
+
*[clippy: fix: `manual_unwrap_or_default` suggests falsely when condition type is uncertain](https://github.com/rust-lang/rust-clippy/pull/13889)
223
+
*[clippy: handle more cases in `is_normalizable`](https://github.com/rust-lang/rust-clippy/pull/13833)
224
+
*[clippy: make empty-line-after an early clippy lint](https://github.com/rust-lang/rust/pull/136657)
225
+
*[clippy: make `manual_map` ignore types that contain `dyn`](https://github.com/rust-lang/rust-clippy/pull/12712)
226
+
*[clippy: move `mutex_integer` to restriction and improve `mutex_`{`integer`, `atomic`} docs](https://github.com/rust-lang/rust-clippy/pull/14110)
227
+
*[clippy: skip `use_self` inside macro expansions of a `impl Self` block](https://github.com/rust-lang/rust-clippy/pull/13128)
228
+
*[clippy: two improvements to `disallowed_*`](https://github.com/rust-lang/rust-clippy/pull/13669)
229
+
*[clippy: use MIR body to identify more "default equivalent" calls for `derivable_impls`](https://github.com/rust-lang/rust-clippy/pull/13988)
230
+
*[clippy: use parentheses when needed in `nonminimal_bool` lint](https://github.com/rust-lang/rust-clippy/pull/14187)
231
+
*[rust-analyzer: fix off-by-one error in RangeFormatting](https://github.com/rust-lang/rust-analyzer/pull/19124)
232
+
*[rust-analyzer: don't emit empty scip occurrence for builtins](https://github.com/rust-lang/rust-analyzer/pull/19105)
233
+
*[rust-analyzer: fix IDE resolution of `use` inside a body](https://github.com/rust-lang/rust-analyzer/pull/19094)
234
+
*[rust-analyzer: if item exsits on module, resolve as module instead of type](https://github.com/rust-lang/rust-analyzer/pull/19088)
235
+
*[rust-analyzer: resolve projection types before checking casts](https://github.com/rust-lang/rust-analyzer/pull/19106)
236
+
*[rust-analyzer: upmap ranges in `convert_tuple_struct_to_named_struct` assist](https://github.com/rust-lang/rust-analyzer/pull/18912)
237
+
*[rust-analyzer: line-index: don't try to use (unavailable) neon on big-endian aarch64](https://github.com/rust-lang/rust-analyzer/pull/19083)
238
+
*[rust-analyzer: option to disable inlay Type hints for Closure parameters](https://github.com/rust-lang/rust-analyzer/pull/19104)
239
+
*[rust-analyzer: organise chapters in mdbook sidebar](https://github.com/rust-lang/rust-analyzer/pull/19115)
240
+
*[rust-analyzer: prevent panics from tearing down worker threads](https://github.com/rust-lang/rust-analyzer/pull/19093)
241
+
*[rust-analyzer: split cache priming into distinct phases](https://github.com/rust-lang/rust-analyzer/pull/19084)
242
+
*[rust-analyzer: use interior mutability for loaded `ProcMacrorv::expanders`](https://github.com/rust-lang/rust-analyzer/pull/19099)
113
243
114
244
### Rust Compiler Performance Triage
115
245
@@ -298,7 +428,11 @@ Please see the latest [Who's Hiring thread on r/rust](INSERT_LINK_HERE)
298
428
299
429
# Quote of the Week
300
430
301
-
<!-- QOTW goes here -->
431
+
> Just because things are useful doesn't mean they are magically sound.
432
+
433
+
– [Ralf Jung on github](https://github.com/rust-lang/rust/issues/132442#issuecomment-2636065726)
434
+
435
+
Thanks to [scottmcm](https://users.rust-lang.org/t/twir-quote-of-the-week/328/1658) for the suggestion!
302
436
303
437
[Please submit quotes and vote for next week!](https://users.rust-lang.org/t/twir-quote-of-the-week/328)
0 commit comments