Skip to content

Commit e404546

Browse files
authored
C/QotW and notable changes (#6920)
1 parent 9ed9811 commit e404546

File tree

1 file changed

+69
-3
lines changed

1 file changed

+69
-3
lines changed

draft/2025-08-20-this-week-in-rust.md

Lines changed: 69 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,9 @@ and just ask the editors to select the category.
7474

7575
## Crate of the Week
7676

77-
<!-- COTW goes here -->
77+
This week's crate is [tur](https://github.com/rezigned/tur), a turing machine emulator with text-mode user interface.
78+
79+
Despite a lack of suggestions, llogiq is very pleased with his choice.
7880

7981
[Please submit your suggestions and votes for next week][submit_crate]!
8082

@@ -134,7 +136,67 @@ If you are an event organizer hoping to expand the reach of your event, please s
134136

135137
## Updates from the Rust Project
136138

137-
<!-- Rust updates go here -->
139+
390 pull requests were [merged in the last week][merged]
140+
141+
[merged]: https://github.com/search?q=is%3Apr+org%3Arust-lang+is%3Amerged+merged%3A2025-08-12..2025-08-19
142+
143+
#### Compiler
144+
* [compiler: allow `extern "interrupt" fn() → !`](https://github.com/rust-lang/rust/pull/143075)
145+
* [const-eval: full support for pointer fragments](https://github.com/rust-lang/rust/pull/144081)
146+
* [don't warn on never to any `as` casts as unreachable](https://github.com/rust-lang/rust/pull/144804)
147+
* [implement declarative `macro_rules!` derive macros](https://github.com/rust-lang/rust/pull/145208) (RFC [#3698](https://rust-lang.github.io/rfcs/3698-declarative-derive-macros.html))
148+
* [implement `#[derive(From)]`](https://github.com/rust-lang/rust/pull/144922)
149+
* [more `Printer` cleanups](https://github.com/rust-lang/rust/pull/144949)
150+
* [tail call diagnostics to include lifetime info](https://github.com/rust-lang/rust/pull/145012)
151+
#### Library
152+
* [add Ref/RefMut `try_map` method](https://github.com/rust-lang/rust/pull/118087)
153+
* [add `Default` impls for `Pin`ned `Box`, `Rc`, `Arc`](https://github.com/rust-lang/rust/pull/143717)
154+
* [add ASCII-related methods from `u8` and `MIN`/`MAX` to `core::ascii::Char`](https://github.com/rust-lang/rust/pull/143467)
155+
* [change the desugaring of `assert!` for better error output](https://github.com/rust-lang/rust/pull/122661)
156+
* [constify `SystemTime` methods](https://github.com/rust-lang/rust/pull/144519)
157+
* [implement `ptr_cast_array`](https://github.com/rust-lang/rust/pull/144515)
158+
* [migrate from `cfg_if` to `cfg_select`](https://github.com/rust-lang/rust/pull/145489)
159+
* [stabilize `as_array_of_cells`](https://github.com/rust-lang/rust/pull/144054)
160+
* [stabilize `const_exposed_provenance` feature](https://github.com/rust-lang/rust/pull/145462)
161+
* [stabilize `core::iter::chain`](https://github.com/rust-lang/rust/pull/144963)
162+
* [stabilize `ip_from`](https://github.com/rust-lang/rust/pull/141744)
163+
* [stabilize `path_file_prefix` feature](https://github.com/rust-lang/rust/pull/144870)
164+
* [stabilize `sse4a` and `tbm` target features](https://github.com/rust-lang/rust/pull/144542)
165+
* [thread: return error if setting thread stack size fails](https://github.com/rust-lang/rust/pull/144210)
166+
* [windows: replace `GetThreadId`+`GetCurrentThread` with `GetCurrentThreadId`](https://github.com/rust-lang/rust/pull/145412)
167+
#### Cargo
168+
* [unstable: Added `-Zbuild-dir-new-layout` unstable feature](https://github.com/rust-lang/cargo/pull/15848)
169+
* [unstable: add -Zbuild-analysis unstable feature](https://github.com/rust-lang/cargo/pull/15845)
170+
* [package: Always reuse the workspace's target-dir](https://github.com/rust-lang/cargo/pull/15783)
171+
* [add initial integration for `--json=timings` behind `-Zsection-timings`](https://github.com/rust-lang/cargo/pull/15780)
172+
* [fix error while running the cargo clippy --all-targets -- -D warning](https://github.com/rust-lang/cargo/pull/15843)
173+
* [implement `host`-target substitution](https://github.com/rust-lang/cargo/pull/15838)
174+
* [more helpful error for invalid `cargo-features = []`](https://github.com/rust-lang/cargo/pull/15781)
175+
* [stabilize `build.build-dir`](https://github.com/rust-lang/cargo/pull/15833)
176+
#### Rustdoc
177+
* [search: search backend with partitioned suffix tree](https://github.com/rust-lang/rust/pull/144476)
178+
* [allow multiple references to a single footnote](https://github.com/rust-lang/rust/pull/140434)
179+
* [correct negative-to-implicit discriminant display](https://github.com/rust-lang/rust/pull/145216)
180+
#### Clippy
181+
* [`similar_names` stop linting for 3-char names](https://github.com/rust-lang/rust-clippy/pull/15100)
182+
* [`unnecessary_operation`: add space between stmts in suggestion](https://github.com/rust-lang/rust-clippy/pull/15432)
183+
* [`{borrow,ptr}_as_ptr`: don't lint inside proc-macros](https://github.com/rust-lang/rust-clippy/pull/15473)
184+
* [adjust `declare_interior_mutable_const` lint's category](https://github.com/rust-lang/rust-clippy/pull/15454)
185+
* [do not suggest to use implicit `DerefMut` on `ManuallyDrop` reached through unions](https://github.com/rust-lang/rust-clippy/pull/14387)
186+
* [fix `match_ref_pats` false positive on match scrutinee of never type](https://github.com/rust-lang/rust-clippy/pull/15474)
187+
* [fix `unnecessary_semicolon`: don't lint on stmts with attrs](https://github.com/rust-lang/rust-clippy/pull/15466)
188+
#### Rust-Analyzer
189+
* [hint at unterminated strings in unknown prefix errors](https://github.com/rust-lang/rust-analyzer/pull/20425)
190+
* [fix "Implement default members" to resolve IdentPat](https://github.com/rust-lang/rust-analyzer/pull/20432)
191+
* [add if..else completions in LetStmt and ArgList](https://github.com/rust-lang/rust-analyzer/pull/20390)
192+
* [fix indent for `convert_match_to_let_else`](https://github.com/rust-lang/rust-analyzer/pull/20455)
193+
* [make lang items query properly filter out overwritten/excluded sysroots](https://github.com/rust-lang/rust-analyzer/pull/20475)
194+
* [only import the item in "Unqualify method call" if needed](https://github.com/rust-lang/rust-analyzer/pull/20442)
195+
* [support guards in `replace_match_with_if_let`](https://github.com/rust-lang/rust-analyzer/pull/20456)
196+
* [track diagnostic generations per package](https://github.com/rust-lang/rust-analyzer/pull/20459)
197+
* [next-solver fun time](https://github.com/rust-lang/rust-analyzer/pull/20446)
198+
* [switch from Chalk to the next trait solver](https://github.com/rust-lang/rust-analyzer/pull/20329)
199+
* [use a more specific error message when talking about the server logs](https://github.com/rust-lang/rust-analyzer/pull/20467)
138200

139201
### Rust Compiler Performance Triage
140202

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

326388
# Quote of the Week
327389

328-
<!-- QOTW goes here -->
390+
> It's amazing how far const eval has come in #Rust. It wasn't too long ago that even a simple if/else wasn't permitted. Now we're not that far off from having const trait impls and const closures, which will make damn near everything const capable.
391+
392+
[Jacob Pratt on Mastodon](https://hachyderm.io/@[email protected]/115052212557381430)
393+
394+
llogiq has looked at all zero suggestions and came up empty, so he just chose this quote instead.
329395

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

0 commit comments

Comments
 (0)