Skip to content

Commit 34cb8f6

Browse files
authored
Merge pull request #6348 from llogiq/twir-585
C/QotW and notable changes
2 parents 4f9ebe2 + 9e4d3d3 commit 34cb8f6

File tree

1 file changed

+110
-3
lines changed

1 file changed

+110
-3
lines changed

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

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

6767
## Crate of the Week
6868

69-
<!-- COTW goes here -->
69+
This week's crate is [ratzilla](https://github.com/orhun/ratzilla), a library for building terminal-themed web applications with Rust and WebAssembly.
70+
71+
Thanks to [Orhun Parmaksız](https://users.rust-lang.org/t/crate-of-the-week/2704/1397) for the self-suggestion!
7072

7173
[Please submit your suggestions and votes for next week][submit_crate]!
7274

@@ -122,7 +124,108 @@ If you are an event organizer hoping to expand the reach of your event, please s
122124

123125
## Updates from the Rust Project
124126

125-
<!-- Rust updates go here -->
127+
425 pull requests were [merged in the last week][merged]
128+
129+
[merged]: https://github.com/search?q=is%3Apr+org%3Arust-lang+is%3Amerged+merged%3A2025-01-28..2025-02-04
130+
131+
* [`#[optimize(none)]` implies `#[inline(never)]`](https://github.com/rust-lang/rust/pull/136358)
132+
* [-Znext-solver: "normalize" signature before checking it mentions self in `deduce_closure_signature`](https://github.com/rust-lang/rust/pull/135892)
133+
* [`rustc_allowed_through_unstable_modules`: require deprecation message](https://github.com/rust-lang/rust/pull/136434)
134+
* [`rustc_hir_analysis` cleanups](https://github.com/rust-lang/rust/pull/136281)
135+
* [ABI-required target features: warn when they are missing in base CPU](https://github.com/rust-lang/rust/pull/136147)
136+
* [add `AsyncFn*` to `core` prelude](https://github.com/rust-lang/rust/pull/135852)
137+
* [add `kl` and `widekl` target features, and the feature gate](https://github.com/rust-lang/rust/pull/134814)
138+
* [add constraint graph to polonius MIR dump](https://github.com/rust-lang/rust/pull/136278)
139+
* [add link attribute for Enzyme's LLVMRust FFI](https://github.com/rust-lang/rust/pull/136374)
140+
* [add mermaid graphs of NLL regions and SCCs to polonius MIR dump](https://github.com/rust-lang/rust/pull/136104)
141+
* [add missing allocator safety in alloc crate](https://github.com/rust-lang/rust/pull/135805)
142+
* [allow transmuting generic pattern types to and from their base](https://github.com/rust-lang/rust/pull/136179)
143+
* [cast global variables to default address space](https://github.com/rust-lang/rust/pull/135026)
144+
* [deduplicate operand creation between scalars, non-scalars and string patterns](https://github.com/rust-lang/rust/pull/136121)
145+
* [delay a bug when indexing unsized slices](https://github.com/rust-lang/rust/pull/136325)
146+
* [diagnostics: fix borrowck suggestions for if/while let conditionals](https://github.com/rust-lang/rust/pull/136402)
147+
* [disable `overflow_delimited_expr` in edition 2024](https://github.com/rust-lang/rust/pull/136312)
148+
* [do not consider child bound assumptions for rigid alias](https://github.com/rust-lang/rust/pull/135902)
149+
* [enable `unreachable_pub` lint in `alloc`](https://github.com/rust-lang/rust/pull/135367)
150+
* [explain why we retroactively change a static initializer to have a different type](https://github.com/rust-lang/rust/pull/136426)
151+
* [explicitly choose x86 softfloat/hardfloat ABI](https://github.com/rust-lang/rust/pull/136146)
152+
* [filter out RPITITs when suggesting unconstrained assoc type on too many generics](https://github.com/rust-lang/rust/pull/136313)
153+
* [fix autodiff compile time regression](https://github.com/rust-lang/rust/pull/136413)
154+
* [fix broken release notes id](https://github.com/rust-lang/rust/pull/136266)
155+
* [fix deduplication mismatches in vtables leading to upcasting unsoundness](https://github.com/rust-lang/rust/pull/135318)
156+
* [ignore NLL boring locals in polonius diagnostics](https://github.com/rust-lang/rust/pull/136299)
157+
* [implement MIR const trait stability checks](https://github.com/rust-lang/rust/pull/136055)
158+
* [implement MIR lowering for unsafe binders](https://github.com/rust-lang/rust/pull/130514)
159+
* [implement `int_from_ascii`](https://github.com/rust-lang/rust/pull/134824)
160+
* [insert null checks for pointer dereferences when debug assertions are enabled](https://github.com/rust-lang/rust/pull/134424)
161+
* [interpret: `is_alloc_live`: check global allocs last](https://github.com/rust-lang/rust/pull/136166)
162+
* [introduce a wrapper for "typed valtrees" and properly check the type before extracting the value](https://github.com/rust-lang/rust/pull/136180)
163+
* [lower index bounds checking to `PtrMetadata`, this time with the right fake borrow semantics 😸](https://github.com/rust-lang/rust/pull/135748)
164+
* [make comma separated lists of anything easier to make for errors](https://github.com/rust-lang/rust/pull/136368)
165+
* [make crate AST mutation accessible for driver callback](https://github.com/rust-lang/rust/pull/136214)
166+
* [manually walk into WF obligations in `BestObligation` proof tree visitor](https://github.com/rust-lang/rust/pull/135900)
167+
* [merge `PatKind::Path` into `PatKind::Expr`](https://github.com/rust-lang/rust/pull/134248)
168+
* [miri: improve error when `offset_from` preconditions are violated](https://github.com/rust-lang/rust/pull/136438)
169+
* [miri: make float min/max non-deterministic](https://github.com/rust-lang/rust/pull/136348)
170+
* [miri: optimize zeroed alloc](https://github.com/rust-lang/rust/pull/136035)
171+
* [notes on types/traits used for in-memory query caching](https://github.com/rust-lang/rust/pull/136484)
172+
* [omit argument names from function pointers that do not have argument names](https://github.com/rust-lang/rust/pull/136411)
173+
* [omit unused args warnings for intrinsics without body](https://github.com/rust-lang/rust/pull/135840)
174+
* [overhaul `rustc_middle::util`](https://github.com/rust-lang/rust/pull/136336)
175+
* [pass spans to `perform_locally_in_new_solver`](https://github.com/rust-lang/rust/pull/136066)
176+
* [properly check that array length is valid type during built-in unsizing in index](https://github.com/rust-lang/rust/pull/136205)
177+
* [reject unsound toggling of Arm atomics-32 target feature](https://github.com/rust-lang/rust/pull/136170)
178+
* [shorten error message for callable with wrong return type](https://github.com/rust-lang/rust/pull/136414)
179+
* [suggest considering casting fn item as fn pointer in more cases](https://github.com/rust-lang/rust/pull/133382)
180+
* [support `clobber_abi` in BPF inline assembly](https://github.com/rust-lang/rust/pull/136194)
181+
* [target modifiers (special marked options) are recorded in metainfo](https://github.com/rust-lang/rust/pull/133138)
182+
* [target option to require explicit cpu](https://github.com/rust-lang/rust/pull/135030)
183+
* [test validity of pattern types](https://github.com/rust-lang/rust/pull/136145)
184+
* [use proper type when applying deref adjustment in const](https://github.com/rust-lang/rust/pull/136314)
185+
* [use the type-level constant value `ty::Value` where needed](https://github.com/rust-lang/rust/pull/136430)
186+
* [when encountering unexpected closure return type, point at return type/expression](https://github.com/rust-lang/rust/pull/132156)
187+
* [`miri_get_backtrace`: stop supporting the v0 protocol](https://github.com/rust-lang/miri/pull/4172)
188+
* [miri: added a helper to dedup target OS checks](https://github.com/rust-lang/miri/pull/4160)
189+
* [miri: check fixed args number for variadic function](https://github.com/rust-lang/miri/pull/4122)
190+
* [miri: files: make read/write take callback to store result](https://github.com/rust-lang/miri/pull/4174)
191+
* [miri: increase thread limit for many-seeds mode](https://github.com/rust-lang/miri/pull/4168)
192+
* [miri: set `st_fstype` of stat on Solaris and Illumos OSes](https://github.com/rust-lang/miri/pull/4159)
193+
* [miri: shim Apple's futex primitives](https://github.com/rust-lang/miri/pull/4142)
194+
* [miri: use `deref_pointer_as` instead of `deref_pointer`](https://github.com/rust-lang/miri/pull/4140)
195+
* [stabilize `const_black_box`](https://github.com/rust-lang/rust/pull/135414)
196+
* [stabilize `once_wait`](https://github.com/rust-lang/rust/pull/136360)
197+
* [optimize `slice::ptr_rotate` for small rotates](https://github.com/rust-lang/rust/pull/135847)
198+
* [implement all mix/max functions in a (hopefully) more optimization amendable way](https://github.com/rust-lang/rust/pull/136307)
199+
* [fix off-by-one error causing `slice::sort` to abort the program](https://github.com/rust-lang/rust/pull/136163)
200+
* [don't build out of line atomics support code for uefi](https://github.com/rust-lang/compiler-builtins/pull/752)
201+
* [uefi: implement path](https://github.com/rust-lang/rust/pull/135475)
202+
* [cargo: conditionally mark the `test` cfg as a well known cfg](https://github.com/rust-lang/cargo/pull/15007)
203+
* [cargo: don't suggest `cargo login` when using incompatible credental providers](https://github.com/rust-lang/cargo/pull/15124)
204+
* [apply LTO config to rustdoc](https://github.com/rust-lang/rust/pull/135832)
205+
* [rustdoc: add `--output-format=doctest` command-line flag](https://github.com/rust-lang/rust/pull/134531)
206+
* [rustdoc: add sans-serif font setting](https://github.com/rust-lang/rust/pull/133636)
207+
* [rustdoc: always use a channel when linking to doc.rust-lang.org](https://github.com/rust-lang/rust/pull/134807)
208+
* [bindgen: `process_comment`: Use last defined callback](https://github.com/rust-lang/rust-bindgen/pull/3103)
209+
* [bindgen: use `link_name` for dynamic library loading](https://github.com/rust-lang/rust-bindgen/pull/3101)
210+
* [clippy: `needless_option_take`: add autofix](https://github.com/rust-lang/rust-clippy/pull/14042)
211+
* [clippy: add `manual_slice_fill` lint](https://github.com/rust-lang/rust-clippy/pull/14082)
212+
* [clippy: autofix for `cmp_null`](https://github.com/rust-lang/rust-clippy/pull/14122)
213+
* [clippy: autofix for `redundant_else` lint](https://github.com/rust-lang/rust-clippy/pull/13936)
214+
* [clippy: do not remove semicolon if it changes the block type](https://github.com/rust-lang/rust-clippy/pull/14103)
215+
* [clippy: new lint for `and_then` when returning Option or Result](https://github.com/rust-lang/rust-clippy/pull/14051)
216+
* [clippy: fix escaping problem in `write_literal` and `print_literal` lint suggestion](https://github.com/rust-lang/rust-clippy/pull/13990)
217+
* [clippy: include generic arguments when suggesting a closure η-reduction](https://github.com/rust-lang/rust-clippy/pull/14105)
218+
* [clippy: move `format_push_string` and `format_collect` to pedantic](https://github.com/rust-lang/rust-clippy/pull/13894)
219+
* [clippy: new `manual_option_as_slice` lint](https://github.com/rust-lang/rust-clippy/pull/13901)
220+
* [clippy: new lint: `precedence_bits`, with recent additions to precedence](https://github.com/rust-lang/rust-clippy/pull/14115)
221+
* [rust-analyzer: disable `Receiver` based autoderef temporarily](https://github.com/rust-lang/rust-analyzer/pull/19061)
222+
* [rust-analyzer: ensure `completion_item_hash` serializes items uniquely](https://github.com/rust-lang/rust-analyzer/pull/19072)
223+
* [rust-analyzer: fix scip indexing of module names](https://github.com/rust-lang/rust-analyzer/pull/19062)
224+
* [rust-analyzer: fix some mir eval/lowerings](https://github.com/rust-lang/rust-analyzer/pull/19086)
225+
* [rust-analyzer: properly handle CRLF line endings in the syntax tree view](https://github.com/rust-lang/rust-analyzer/pull/19056)
226+
* [rust-analyzer: try to infer array type from slice pattern](https://github.com/rust-lang/rust-analyzer/pull/19066)
227+
* [rust-analyzer: remove mutable syntax tree shenanigans from adjustment hints](https://github.com/rust-lang/rust-analyzer/pull/19070)
228+
* [rust-analyzer: show status bar in output](https://github.com/rust-lang/rust-analyzer/pull/19057)
126229

127230
### Rust Compiler Performance Triage
128231

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

309412
# Quote of the Week
310413

311-
<!-- QOTW goes here -->
414+
> If your rust code compiles and you don't use "unsafe", that is a pretty good certification.
415+
416+
[Richard Gould about Rust certifications on rust-users](https://users.rust-lang.org/t/recognized-rust-certification/124906/11)
417+
418+
Thanks to [ZiCog](https://users.rust-lang.org/t/twir-quote-of-the-week/328/1657) for the suggestion!
312419

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

0 commit comments

Comments
 (0)