Skip to content

Commit bad9c9f

Browse files
authored
Merge pull request #6685 from llogiq/twir-601
C/QotW and notable changes
2 parents ffe173f + 6ccf43b commit bad9c9f

File tree

1 file changed

+60
-3
lines changed

1 file changed

+60
-3
lines changed

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

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

7373
## Crate of the Week
7474

75-
<!-- COTW goes here -->
75+
This week's crate is [boreal](https://github.com/vthib/boreal), a safe and performant [YARA](https://virustotal.github.io/yara/) rules evaluator.
76+
77+
Thanks to [Vincent Thiberville](https://users.rust-lang.org/t/crate-of-the-week/2704/1439) for the self-suggestion!
7678

7779
[Please submit your suggestions and votes for next week][submit_crate]!
7880

@@ -120,7 +122,58 @@ If you are an event organizer hoping to expand the reach of your event, please s
120122

121123
## Updates from the Rust Project
122124

123-
<!-- Rust updates go here -->
125+
433 pull requests were [merged in the last week][merged]
126+
127+
[merged]: https://github.com/search?q=is%3Apr+org%3Arust-lang+is%3Amerged+merged%3A2025-05-20..2025-05-27
128+
129+
#### Compiler
130+
131+
* [don't rerun goals if none of their vars have changed](https://github.com/rust-lang/rust/pull/141500)
132+
* [fold predicate fast path in canonicalizer and eager resolver](https://github.com/rust-lang/rust/pull/141442)
133+
134+
#### Library
135+
136+
* [add `std::os::unix::process::CommandExt::chroot` to safely chroot a child process](https://github.com/rust-lang/rust/pull/137759)
137+
* [fix aliasing bug in UNIX process implementation](https://github.com/rust-lang/rust/pull/138896)
138+
* [implement `ptr::try_cast_aligned` and `NonNull::try_cast_aligned`](https://github.com/rust-lang/rust/pull/141222)
139+
* [implement `advance_by` via `try_fold` for `Sized` iterators](https://github.com/rust-lang/rust/pull/141086)
140+
141+
#### Cargo
142+
143+
* [toml: Remove workaround for rustc frontmatter support](https://github.com/rust-lang/cargo/pull/15570)
144+
* [add `-Zfix-edition`](https://github.com/rust-lang/cargo/pull/15596)
145+
* [add the future edition](https://github.com/rust-lang/cargo/pull/15595)
146+
* [direct extraction for registry sources](https://github.com/rust-lang/cargo/pull/15514)
147+
* [vendor files with .rej/.orig suffix](https://github.com/rust-lang/cargo/pull/15569)
148+
149+
#### Rustdoc
150+
151+
* [Unify type aliases rendering with other ADT](https://github.com/rust-lang/rust/pull/140863)
152+
* [on mobile, make the sidebar full width and linewrap](https://github.com/rust-lang/rust/pull/139831)
153+
* [speed up `TypeAliasPart::get`](https://github.com/rust-lang/rust/pull/141421)
154+
155+
#### Clippy
156+
157+
* [`manual_flatten`: fix with nested `Some` or `Ok` pattern](https://github.com/rust-lang/rust-clippy/pull/14846)
158+
* [`needless_borrow`: do not contradict `dangerous_implicit_autorefs`](https://github.com/rust-lang/rust-clippy/pull/14810)
159+
* [consider consts in patterns as refutable](https://github.com/rust-lang/rust-clippy/pull/14887)
160+
* [fix `assign_op_pattern` false positive on unstable const trait](https://github.com/rust-lang/rust-clippy/pull/14886)
161+
* [fix `manual_find` wrong suggestion when return type needs adjustment](https://github.com/rust-lang/rust-clippy/pull/14892)
162+
* [fix `needless_for_each` wrong suggestion when closure has no braces](https://github.com/rust-lang/rust-clippy/pull/14735)
163+
* [fix `manual_slice_size_computation` ICE and trigger in `const` context](https://github.com/rust-lang/rust-clippy/pull/14804)
164+
* [make `trivial-copy-size-limit` consistently the size of the target pointer](https://github.com/rust-lang/rust-clippy/pull/13319)
165+
* [various macro fixes for loop lints](https://github.com/rust-lang/rust-clippy/pull/14631)
166+
167+
#### Rust-Analyzer
168+
169+
* [change import prefix default to be by crate](https://github.com/rust-lang/rust-analyzer/pull/19819)
170+
* [correctly set the span of the `proc_macro` crate's Group delimiters](https://github.com/rust-lang/rust-analyzer/pull/19839)
171+
* [fix IDE resolution of item macros](https://github.com/rust-lang/rust-analyzer/pull/19862)
172+
* [fix cache problems with lints level](https://github.com/rust-lang/rust-analyzer/pull/19824)
173+
* [ide-assists, generate mut trait impl indent](https://github.com/rust-lang/rust-analyzer/pull/19792)
174+
* [normalize when checking for uninhabited types for pattern exhaustiveness checking](https://github.com/rust-lang/rust-analyzer/pull/19851)
175+
* [properly implement `might_be_inside_macro_call()` using semantic information instead of syntactical hacks](https://github.com/rust-lang/rust-analyzer/pull/19864)
176+
* [ide-assists, `generate_new` indent loses](https://github.com/rust-lang/rust-analyzer/pull/19785)
124177

125178
### Rust Compiler Performance Triage
126179

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

316369
# Quote of the Week
317370

318-
<!-- QOTW goes here -->
371+
> This is basically the programming version of "learning Japanese as an English speaker is hard, therefore it is not a good language for babies to learn"
372+
373+
[/u/Aaron1924 on /r/rust](https://www.reddit.com/r/programming/comments/1kqo2tc/comment/mt72ihj/) discussing whether Rust might be a good first language or not.
374+
375+
Thanks to [robin](https://users.rust-lang.org/t/twir-quote-of-the-week/328/1688) for the suggestion!
319376

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

0 commit comments

Comments
 (0)