Skip to content

Commit e9e640e

Browse files
committed
C/QotW and notable changes
1 parent 08466f1 commit e9e640e

File tree

1 file changed

+65
-3
lines changed

1 file changed

+65
-3
lines changed

draft/2025-05-21-this-week-in-rust.md

Lines changed: 65 additions & 3 deletions
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 [makepad](https://makepad.nl), an in development shader based live designable OSS UI-Framework.
54+
55+
Thanks to [crazust](https://users.rust-lang.org/t/crate-of-the-week/2704/1435) for the suggestion!
5456

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

@@ -109,7 +111,61 @@ 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+
353 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-05-13..2025-05-20
117+
118+
#### Compiler
119+
120+
* [improve `dangerous_implicit_aurorefs` diagnostic output](https://github.com/rust-lang/rust/pull/140768)
121+
* [improve ternary operator recovery](https://github.com/rust-lang/rust/pull/141003)
122+
* [perf: fast path for `register_region_obligation`](https://github.com/rust-lang/rust/pull/141129)
123+
124+
#### Library
125+
126+
* [add `std::io::Seek` instance for `std::io::Take`](https://github.com/rust-lang/rust/pull/138023)
127+
* [optimize `ToString` implementation for integers](https://github.com/rust-lang/rust/pull/136264)
128+
* [stop using TLS in signal handler](https://github.com/rust-lang/rust/pull/140628)
129+
* [stabilize `#![feature(non_null_from_ref)]`](https://github.com/rust-lang/rust/pull/140511)
130+
* [stabilize the avx512 target features](https://github.com/rust-lang/rust/pull/138940)
131+
132+
#### Cargo
133+
134+
* [cargo: allow configuring arbitrary codegen backends](https://github.com/rust-lang/cargo/pull/15562)
135+
* [cargo: feat: skip `publish=false` pkg when publishing entire workspace](https://github.com/rust-lang/cargo/pull/15525)
136+
* [cargo: stabilize doctest-xcompile](https://github.com/rust-lang/cargo/pull/15462)
137+
138+
#### Rustdoc
139+
140+
#### Clippy
141+
142+
* [`comparison_chain`: do not lint on 2 blocks expression](https://github.com/rust-lang/rust-clippy/pull/14811)
143+
* [`empty_struct_with_brackets`: do not lint code coming from macro expansion](https://github.com/rust-lang/rust-clippy/pull/14623)
144+
* [`excessive_precision`: Fix false positive when exponent has leading zero](https://github.com/rust-lang/rust-clippy/pull/14824)
145+
* [`match_same_arms`, `ifs_same_cond`: lint once per same arm/condition](https://github.com/rust-lang/rust-clippy/pull/14637)
146+
* [`needless_match`: do not pretend that `return` is not significant in an expression](https://github.com/rust-lang/rust-clippy/pull/14757)
147+
* [`unnecessary_wraps`: do not include the whole body in the lint span](https://github.com/rust-lang/rust-clippy/pull/14777)
148+
* [add new `useless_concat` lint](https://github.com/rust-lang/rust-clippy/pull/13829)
149+
* [add the `allow_exact_repetitions` option to the `module_name_repetititions` lint](https://github.com/rust-lang/rust-clippy/pull/14261)
150+
* [check if dropping an expression may have indirect side-effects](https://github.com/rust-lang/rust-clippy/pull/14594)
151+
* [`useless_as_ref`: do not call `TyCtxt::type_of()` on a trait](https://github.com/rust-lang/rust-clippy/pull/14830)
152+
* [fix ICE while computing type layout](https://github.com/rust-lang/rust-clippy/pull/14837)
153+
* [fix false positive of `useless_conversion` when using `.into_iter().any()`](https://github.com/rust-lang/rust-clippy/pull/14800)
154+
* [fix: `unnecessary_to_owned` false positive when map key is a reference](https://github.com/rust-lang/rust-clippy/pull/14834)
155+
* [make lint span smaller for needless return](https://github.com/rust-lang/rust-clippy/pull/14790)
156+
* [post `non_std_lazy_statics` type warnings onto the right node](https://github.com/rust-lang/rust-clippy/pull/14740)
157+
* [reenable linting on UFCS `deref` calls](https://github.com/rust-lang/rust-clippy/pull/14808)
158+
* [rewrite `non_copy_const`](https://github.com/rust-lang/rust-clippy/pull/13207)
159+
* [use interned symbols instead of strings in more places](https://github.com/rust-lang/rust-clippy/pull/14840)
160+
161+
#### Rust-Analyzer
162+
163+
* [debounce workspace fetching for workspace structure changes](https://github.com/rust-lang/rust-analyzer/pull/19814)
164+
* [highlight unsafe operations](https://github.com/rust-lang/rust-analyzer/pull/19687)
165+
* [don't allow duplicate crates in the `all_crates` list](https://github.com/rust-lang/rust-analyzer/pull/19794)
166+
* [improve asm support](https://github.com/rust-lang/rust-analyzer/pull/19801)
167+
* [removing all unused imports removes used imports for imports used for Derive macros](https://github.com/rust-lang/rust-analyzer/pull/19793)
168+
* [request cancellation while processing changed files](https://github.com/rust-lang/rust-analyzer/pull/19757)
113169

114170
### Rust Compiler Performance Triage
115171

@@ -326,7 +382,13 @@ Please see the latest [Who's Hiring thread on r/rust](INSERT_LINK_HERE)
326382

327383
# Quote of the Week
328384

329-
<!-- QOTW goes here -->
385+
> `/proc/self/mem` is outside the scope of rust's safety guarantees. otherwise this would open a can of worms that could not be closed except by forbidding debuggers from poking memory or marking every impure function as unsafe.
386+
>
387+
> like, what if you invoke gdb to poke memory? what if you modify .bash_profile to poke memory? what if you send an http request to a hypervisor to poke memory? what if you run a spin loop, and the noise of the fans whirring up activates a beam of ionizing radiation pointed directly at the CPU? what if opening the disk drive makes the computer fall off a cliff?
388+
389+
[binarycat on rust-internals](https://internals.rust-lang.org/t/how-does-inline-assembly-and-the-physical-machine-fit-into-the-abstract-machine-model-or-exist-outside-of-it/22545/41)
390+
391+
Thanks to [Chayim Refael Friedman](https://users.rust-lang.org/t/twir-quote-of-the-week/328/1687) for the suggestion!
330392

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

0 commit comments

Comments
 (0)