Skip to content

Commit f125a35

Browse files
authored
Merge pull request #5992 from llogiq/twir-568
C/QotW and notable changes
2 parents 89a03cd + 39967fb commit f125a35

File tree

1 file changed

+93
-3
lines changed

1 file changed

+93
-3
lines changed

draft/2024-10-09-this-week-in-rust.md

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

5959
## Crate of the Week
6060

61-
<!-- COTW goes here -->
61+
This week's crate is [float8](https://crates.io/crates/float8), an 8-bit float implementation.
62+
63+
llogiq is still pleased with his choice, but increasingly unhappy about the lack of suggestions.
6264

6365
[Please submit your suggestions and votes for next week][submit_crate]!
6466

@@ -109,7 +111,91 @@ 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+
437 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%3A2024-10-01..2024-10-08
117+
118+
* [add `x86_64-unknown-trusty` as tier 3 target](https://github.com/rust-lang/rust/pull/130453)
119+
* [initial support for `riscv32{e|em|emc}_unknown_none_elf`](https://github.com/rust-lang/rust/pull/130555)
120+
* [increase Stack Size for AIX](https://github.com/rust-lang/rust/pull/131116)
121+
* [allow boolean literals as cfg predicates](https://github.com/rust-lang/rust/pull/131034) (RFC [#3695](https://rust-lang.github.io/rfcs/3695-cfg-boolean-literals.html))
122+
* [account for `impl Trait {` when `impl Trait for Type {` was intended](https://github.com/rust-lang/rust/pull/131273)
123+
* [add `naked_asm!` macro for use in `#[naked]` functions](https://github.com/rust-lang/rust/pull/128651)
124+
* [add a lint for pointer to integer transmutes in consts](https://github.com/rust-lang/rust/pull/130540)
125+
* [add caching to most type folders, rm region uniquification](https://github.com/rust-lang/rust/pull/130821)
126+
* [add missing module flags for `-Zfunction-return=thunk-extern`](https://github.com/rust-lang/rust/pull/130824)
127+
* [add support for reborrowing pinned method receivers](https://github.com/rust-lang/rust/pull/130633)
128+
* [add unstable support for outputting file checksums for use in cargo](https://github.com/rust-lang/rust/pull/126930)
129+
* [avoid ICE in coverage builds with bad `#[coverage(..)]` attributes](https://github.com/rust-lang/rust/pull/131187)
130+
* [check elaborated projections from dyn don't mention unconstrained late bound lifetimes](https://github.com/rust-lang/rust/pull/130367)
131+
* [compute array length from type for unconditional panic lint](https://github.com/rust-lang/rust/pull/129517)
132+
* [couple of changes to make it easier to compile rustc for wasm](https://github.com/rust-lang/rust/pull/130899)
133+
* [coverage: multiple small tweaks to counter creation](https://github.com/rust-lang/rust/pull/131325)
134+
* [disable jump threading `UnOp::Not` for non-bool](https://github.com/rust-lang/rust/pull/131201)
135+
* [do not consider match/let/ref of place that evaluates to `!` to diverge, disallow coercions from them too](https://github.com/rust-lang/rust/pull/129392)
136+
* [don't allow the `#[pointee]` attribute where it doesn't belong](https://github.com/rust-lang/rust/pull/128721)
137+
* [don't give method suggestions when method probe fails due to bad implementation of `Deref`](https://github.com/rust-lang/rust/pull/131024)
138+
* [improve const traits diagnostics for new desugaring](https://github.com/rust-lang/rust/pull/131152)
139+
* [instantiate binders in `supertrait_vtable_slot`](https://github.com/rust-lang/rust/pull/131042)
140+
* [make `deprecated_cfg_attr_crate_type_name` a hard error](https://github.com/rust-lang/rust/pull/129670)
141+
* [make `test_lots_of_insertions` test take less long in Miri](https://github.com/rust-lang/rust/pull/131085)
142+
* [make opaque types regular HIR nodes](https://github.com/rust-lang/rust/pull/129244)
143+
* [only query `params_in_repr` if def kind is adt](https://github.com/rust-lang/rust/pull/131150)
144+
* [panic when an interpreter error gets unintentionally discarded](https://github.com/rust-lang/rust/pull/130885)
145+
* [parser: better error messages for `@` in `struct` patterns](https://github.com/rust-lang/rust/pull/130725)
146+
* [replace -Z default-hidden-visibility with -Z default-visibility](https://github.com/rust-lang/rust/pull/130005)
147+
* [restrict `ignore-mode-*` directives](https://github.com/rust-lang/rust/pull/131346)
148+
* [support `clobber_abi` and vector/access registers (clobber-only) in s390x inline assembly](https://github.com/rust-lang/rust/pull/130630)
149+
* [interpret: always enable `write_immediate` sanity checks](https://github.com/rust-lang/rust/pull/131006)
150+
* [miri: add vector clock to epoll ready lists](https://github.com/rust-lang/miri/pull/3932)
151+
* [miri: added rust-analyzer instructions for Helix](https://github.com/rust-lang/miri/pull/3936)
152+
* [miri: avoid `pthread_attr_t` in tests](https://github.com/rust-lang/miri/pull/3945)
153+
* [miri: implement LLVM x86 gfni intrinsics](https://github.com/rust-lang/miri/pull/3895)
154+
* [miri: prefer refutable slice patterns over len check + index op](https://github.com/rust-lang/miri/pull/3940)
155+
* [miri: pthread mutex: better error in reentrant-locking-UB](https://github.com/rust-lang/miri/pull/3943)
156+
* [`rustc_infer` cleanups](https://github.com/rust-lang/rust/pull/131226)
157+
* [stabilize 5 `const_mut_refs`-dependent API](https://github.com/rust-lang/rust/pull/131177)
158+
* [stabilize `BufRead::skip_until`](https://github.com/rust-lang/rust/pull/131267)
159+
* [stabilize `const_float_classify`](https://github.com/rust-lang/rust/pull/130157)
160+
* [stabilize `const_slice_from_raw_parts_mut`](https://github.com/rust-lang/rust/pull/130403)
161+
* [stabilize `const_slice_split_at_mut` and `const_slice_first_last_chunk`](https://github.com/rust-lang/rust/pull/130428)
162+
* [stabilize `expr_2021` fragment specifier in all editions](https://github.com/rust-lang/rust/pull/129972)
163+
* [stabilize the `map`/`value` methods on `ControlFlow`](https://github.com/rust-lang/rust/pull/130518)
164+
* [liballoc: introduce String, Vec const-slicing](https://github.com/rust-lang/rust/pull/128399)
165+
* [make Cell unstably const](https://github.com/rust-lang/rust/pull/131281)
166+
* [enable f16 and f128 on windows-gnullvm targets](https://github.com/rust-lang/rust/pull/131308)
167+
* [transmuteFrom: gracefully handle unnormalized types and normalization errors](https://github.com/rust-lang/rust/pull/131112)
168+
* [small optimization for integers Display implementation](https://github.com/rust-lang/rust/pull/128204)
169+
* [add `[Option<T>; N]::transpose`](https://github.com/rust-lang/rust/pull/130829)
170+
* [add precondition checks to `ptr::offset, ptr::add, ptr::sub`](https://github.com/rust-lang/rust/pull/130251)
171+
* [avoid emptiness check in `PeekMut::pop`](https://github.com/rust-lang/rust/pull/131197)
172+
* [don't use `Immediate::offset` to transmute pointers to integers](https://github.com/rust-lang/rust/pull/131068)
173+
* [add multi-producer, multi-consumer channel (mpmc)](https://github.com/rust-lang/rust/pull/126839)
174+
* [impl `Default` for `HashMap`/`HashSet` iterators that don't already have it](https://github.com/rust-lang/rust/pull/128711)
175+
* [std: make `thread::current` available in all `thread_local!` destructors](https://github.com/rust-lang/rust/pull/127912)
176+
* [std: replace `LazyBox` with `OnceBox`](https://github.com/rust-lang/rust/pull/131094)
177+
* [futures: fix use after free of task in FuturesUnordered when dropped future panics](https://github.com/rust-lang/futures-rs/pull/2886)
178+
* [hashbrown: add `Tag(u8)` newtype in an attempt to stop using byte-pointers for everything](https://github.com/rust-lang/hashbrown/pull/565)
179+
* [hashbrown: change the default hasher to foldhash](https://github.com/rust-lang/hashbrown/pull/563)
180+
* [cargo: fix `cargo:version_number` - has only one `:`](https://github.com/rust-lang/cargo/pull/14637)
181+
* [cargo: fix: remove implicit feature removal](https://github.com/rust-lang/cargo/pull/14630)
182+
* [cargo: improve error reporting when feature not found in `activated_features`](https://github.com/rust-lang/cargo/pull/14647)
183+
* [rustdoc: cleaner errors on disambiguator/namespace mismatches](https://github.com/rust-lang/rust/pull/131260)
184+
* [rustdoc: improve `<wbr>`-insertion for `SCREAMING_CAMEL_CASE`](https://github.com/rust-lang/rust/pull/131370)
185+
* [rustdoc: lists items that contain multiple paragraphs are more clear](https://github.com/rust-lang/rust/pull/130933)
186+
* [rustdoc: prevent ctors from resolving](https://github.com/rust-lang/rust/pull/131224)
187+
* [clippy: `infinite_loop`: continuing an outer loop leaves the inner loop](https://github.com/rust-lang/rust-clippy/pull/13512)
188+
* [clippy: `rustc_tools_util`: rerun when git commit changes](https://github.com/rust-lang/rust-clippy/pull/13329)
189+
* [clippy: `zombie_processes`: consider `wait()` calls in nested bodies](https://github.com/rust-lang/rust-clippy/pull/13462)
190+
* [clippy: compare trait references in `trait_duplication_in_bounds` correctly](https://github.com/rust-lang/rust-clippy/pull/13493)
191+
* [clippy: fix `mut_mutex_lock` when reference not ultimately mutable](https://github.com/rust-lang/rust-clippy/pull/13122)
192+
* [clippy: implement lint for `regex::Regex` compilation inside a loop](https://github.com/rust-lang/rust-clippy/pull/13412)
193+
* [clippy: reduce default 'large array' threshold](https://github.com/rust-lang/rust-clippy/pull/13485)
194+
* [clippy: show interior mutability chain in `mutable_key_type`](https://github.com/rust-lang/rust-clippy/pull/13496)
195+
* [clippy: simplify negative `Option::{is_some_and,is_none_or}`](https://github.com/rust-lang/rust-clippy/pull/13443)
196+
* [clippy: style: do not defensively use `saturating_sub()`](https://github.com/rust-lang/rust-clippy/pull/13513)
197+
* [rust-analyzer: fix: fix bootstrap error message being incorrect](https://github.com/rust-lang/rust-analyzer/pull/18219)
198+
* [rust-analyzer: use external stack in borrowck DFS](https://github.com/rust-lang/rust-analyzer/pull/18255)
113199

114200
### Rust Compiler Performance Triage
115201

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

310396
# Quote of the Week
311397

312-
<!-- QOTW goes here -->
398+
> I'm the wrong side of 45. I have zero interest in wasting any time that I might have left writing C from scratch. Writing Rust is pure joy. I can go from an idea to a working, tested, robust, published and packaged implementation in the time it would take me to even begin the first few lines of a C version. The tooling is beautiful, makes programming fun, and the end result usually outperforms the equivalent C. Once it builds I know it will run perfectly on all of the platforms I care about, and I don't have to go around manually testing on them to find all of the various platform and compiler quirks that will break it.
399+
400+
[Jonathan Perkins on the NetBSD mailing list](http://mail-index.netbsd.org/pkgsrc-users/2024/08/25/msg040053.html)
401+
402+
Thanks to [blonk](https://users.rust-lang.org/t/twir-quote-of-the-week/328/1617) for the suggestion!
313403

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

0 commit comments

Comments
 (0)