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-01-29-this-week-in-rust.md
+110-3Lines changed: 110 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,9 @@ and just ask the editors to select the category.
47
47
48
48
## Crate of the Week
49
49
50
-
<!-- COTW goes here -->
50
+
This week's crate is [embed\_it](https://github.com/riberk/embed_it), a crate that helps you to embed assets into your binary and generates structs / trait implementations for each file or directory.
51
+
52
+
Thanks to [Riberk](https://users.rust-lang.org/t/crate-of-the-week/2704/1390) for the self-suggestion!
51
53
52
54
[Please submit your suggestions and votes for next week][submit_crate]!
53
55
@@ -106,7 +108,108 @@ If you are an event organizer hoping to expand the reach of your event, please s
106
108
107
109
## Updates from the Rust Project
108
110
109
-
<!-- Rust updates go here -->
111
+
408 pull requests were [merged in the last week][merged]
*[account for mutable borrow in argument suggestion](https://github.com/rust-lang/rust/pull/136032)
120
+
*[add a suggestion to cast `target_feature` fn items to fn pointers](https://github.com/rust-lang/rust/pull/136064)
121
+
*[add a workaround for parallel rustc crashing when there are delayed bugs](https://github.com/rust-lang/rust/pull/135988)
122
+
*[change `collect_and_partition_mono_items` tuple return type to a `struct`](https://github.com/rust-lang/rust/pull/136118)
123
+
*[codegen: store ScalarPair via memset when one side is undef and the other side can be memset](https://github.com/rust-lang/rust/pull/135335)
124
+
*[compiler: set `target_abi = "ilp32e"` on all riscv32e targets](https://github.com/rust-lang/rust/pull/134358)
125
+
*[coverage: prepare for upcoming changes to counter creation](https://github.com/rust-lang/rust/pull/135873)
126
+
*[detect missing fields with default values and suggest `..`](https://github.com/rust-lang/rust/pull/135794)
127
+
*[do not assume const params are printed after type params](https://github.com/rust-lang/rust/pull/135749)
128
+
*[don't ICE in coerce when autoderef fails to structurally normalize non-WF type in new solver](https://github.com/rust-lang/rust/pull/134746)
129
+
*[don't drop types with no drop glue when building drops for tailcalls](https://github.com/rust-lang/rust/pull/135976)
130
+
*[don't pick `T: FnPtr` nested goals as the leaf goal in diagnostics for new solver](https://github.com/rust-lang/rust/pull/135866)
131
+
*[enable `unreachable_pub` lint in `test` and `proc_macro` crates](https://github.com/rust-lang/rust/pull/135366)
132
+
*[enable kernel sanitizers for aarch64-unknown-none-softfloat](https://github.com/rust-lang/rust/pull/135905)
133
+
*[fix GDB `OsString` provider on Windows](https://github.com/rust-lang/rust/pull/135812)
134
+
*[fix ICE: multiple never-pattern arm doesn't have `false_edge_start_block`](https://github.com/rust-lang/rust/pull/135409)
135
+
*[forbid usage of `hir Infer` const/ty variants in ambiguous contexts](https://github.com/rust-lang/rust/pull/135272)
136
+
*[handle global trait bounds defining assoc types](https://github.com/rust-lang/rust/pull/135766)
137
+
*[implement `needs-subprocess` directive, and cleanup a bunch of tests to use `needs-{subprocess,threads}`](https://github.com/rust-lang/rust/pull/135926)
*[rust-analyzer: provide a config to control auto-insertion of `await` and `iter()`](https://github.com/rust-lang/rust-analyzer/pull/18993)
193
+
*[rust-analyzer: support safe functions marked with `#[target_feature(..)]`](https://github.com/rust-lang/rust-analyzer/pull/19038)
194
+
*[rust-analyzer: don't complete `doc(hidden) enum` variants and use trees](https://github.com/rust-lang/rust-analyzer/pull/19034)
195
+
*[rust-analyzer: don't suggest `into_iter().method()` on iterators](https://github.com/rust-lang/rust-analyzer/pull/19050)
196
+
*[rust-analyzer: fix `ItemScope` not recording glob imports](https://github.com/rust-lang/rust-analyzer/pull/19016)
197
+
*[rust-analyzer: fix a missing standard token in semantic highlighting](https://github.com/rust-lang/rust-analyzer/pull/19045)
198
+
*[rust-analyzer: fix flycheck panicking with "once" invocation strategy](https://github.com/rust-lang/rust-analyzer/pull/19017)
199
+
*[rust-analyzer: fix flyimport not filtering via stability of import path](https://github.com/rust-lang/rust-analyzer/pull/19028)
200
+
*[rust-analyzer: fix syntactic highlighting for renames](https://github.com/rust-lang/rust-analyzer/pull/19047)
201
+
*[rust-analyzer: in completion's expand, consider recursion stop condition (when we're not inside a macro call anymore) *after* the recursive call instead of before it](https://github.com/rust-lang/rust-analyzer/pull/19037)
202
+
*[rust-analyzer: prevent infinite recursion of bounds formatting](https://github.com/rust-lang/rust-analyzer/pull/19020)
203
+
*[rust-analyzer: report calling unsafe fn pointer as unsafe](https://github.com/rust-lang/rust-analyzer/pull/19051)
204
+
*[rust-analyzer: sort completion items that skip `await` and `iter()` behind those that don't](https://github.com/rust-lang/rust-analyzer/pull/18988)
205
+
*[rust-analyzer: goto `Display::fmt` when invoked on `to_string`](https://github.com/rust-lang/rust-analyzer/pull/18986)
206
+
*[rust-analyzer: increase `AUTODEREF_RECURSION_LIMIT` to 20](https://github.com/rust-lang/rust-analyzer/pull/19004)
207
+
*[rust-analyzer: keep already computed inlay hint properties instead of late resolving them](https://github.com/rust-lang/rust-analyzer/pull/18991)
208
+
*[rust-analyzer: make niches into nices](https://github.com/rust-lang/rust-analyzer/pull/18973)
209
+
*[rust-analyzer: only collect implicit visibile use symbols if they have renames](https://github.com/rust-lang/rust-analyzer/pull/19026)
210
+
*[rust-analyzer: prioritize formatting thread tasks in `main_loop`](https://github.com/rust-lang/rust-analyzer/pull/19052)
211
+
*[rust-analyzer: split out `ExpressionStore` from `Body`](https://github.com/rust-lang/rust-analyzer/pull/19036)
212
+
*[rust-analyzer: use `strict_provenance`](https://github.com/rust-lang/rust-analyzer/pull/18909)
110
213
111
214
### Rust Compiler Performance Triage
112
215
@@ -293,7 +396,11 @@ Please see the latest [Who's Hiring thread on r/rust](INSERT_LINK_HERE)
293
396
294
397
# Quote of the Week
295
398
296
-
<!-- QOTW goes here -->
399
+
> I have experience in multiple styles of MMA gained from fighting the borrow checker, if that counts.
400
+
401
+
– [Richard Neumann on rust-users](https://users.rust-lang.org/t/is-it-worth-getting-a-degree-in-rust/124678/2)
402
+
403
+
Thanks to [Jonas Fassbender](https://users.rust-lang.org/t/twir-quote-of-the-week/328/1654) for the suggestion!
297
404
298
405
[Please submit quotes and vote for next week!](https://users.rust-lang.org/t/twir-quote-of-the-week/328)
0 commit comments