Skip to content

Commit 1642f1b

Browse files
authored
Merge pull request #5973 from llogiq/twir-567
C/QotW and notable changes
2 parents 918c07c + 7406ceb commit 1642f1b

File tree

1 file changed

+115
-3
lines changed

1 file changed

+115
-3
lines changed

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

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

7474
## Crate of the Week
7575

76-
<!-- COTW goes here -->
76+
This week's crate is [binsider](https://binsider.dev), a terminal UI tool for analyzing binary files.
77+
78+
Despite yet another week without suggestions, llogiq is appropriately pleased with his choice.
7779

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

@@ -126,7 +128,109 @@ If you are an event organizer hoping to expand the reach of your event, please s
126128

127129
## Updates from the Rust Project
128130

129-
<!-- Rust updates go here -->
131+
451 pull requests were [merged in the last week][merged]
132+
133+
[merged]: https://github.com/search?q=is%3Apr+org%3Arust-lang+is%3Amerged+merged%3A2024-09-24..2024-10-01
134+
135+
* [add new Tier-3 target: `loongarch64-unknown-linux-ohos`](https://github.com/rust-lang/rust/pull/130750)
136+
* [add RISC-V vxworks targets](https://github.com/rust-lang/rust/pull/130549)
137+
* [`cfg_match` Generalize inputs](https://github.com/rust-lang/rust/pull/130313)
138+
* [add InProgress ErrorKind gated behind `io_error_inprogress` feature](https://github.com/rust-lang/rust/pull/130789)
139+
* [allow instantiating object trait binder when upcasting](https://github.com/rust-lang/rust/pull/130866)
140+
* [allow instantiating trait object binder in ptr-to-ptr casts](https://github.com/rust-lang/rust/pull/130944)
141+
* [ban combination of GCE and new solver](https://github.com/rust-lang/rust/pull/130787)
142+
* [collect relevant item bounds from trait clauses for nested rigid projections](https://github.com/rust-lang/rust/pull/120752)
143+
* [diagnostics: wrap fn cast suggestions in parens when needed](https://github.com/rust-lang/rust/pull/130911)
144+
* [don't trap into the debugger on panics under Linux](https://github.com/rust-lang/rust/pull/130810)
145+
* [enable compiler fingerprint logs in verbose mode](https://github.com/rust-lang/rust/pull/131056)
146+
* [fix `adt_const_params` leaking `{type error}` in error msg](https://github.com/rust-lang/rust/pull/131038)
147+
* [fix diagnostics for coroutines with () as input](https://github.com/rust-lang/rust/pull/130820)
148+
* [fix error span if arg to `asm!()` is a macro call](https://github.com/rust-lang/rust/pull/130917)
149+
* [fix the misleading diagnostic for `let_underscore_drop` on type without `Drop` implementation](https://github.com/rust-lang/rust/pull/130833)
150+
* [fix: ices on virtual-function-elimination about principal trait](https://github.com/rust-lang/rust/pull/130734)
151+
* [implement trim-paths sysroot changes - take 2](https://github.com/rust-lang/rust/pull/129687) (RFC [#3127](https://rust-lang.github.io/rfcs/3127-trim-paths.html))
152+
* [improve compile errors for invalid ptr-to-ptr casts with trait objects](https://github.com/rust-lang/rust/pull/130234)
153+
* [initial std library support for NuttX](https://github.com/rust-lang/rust/pull/130595)
154+
* [make `clashing_extern_declarations` considering generic args for ADT field](https://github.com/rust-lang/rust/pull/130924)
155+
* [mark some more types as having insignificant dtor](https://github.com/rust-lang/rust/pull/130914)
156+
* [on implicit `Sized` bound on fn argument, point at type instead of pattern](https://github.com/rust-lang/rust/pull/130912)
157+
* [only add an automatic SONAME for Rust dylibs](https://github.com/rust-lang/rust/pull/130960)
158+
* [pass Module Analysis Manager to Standard Instrumentations](https://github.com/rust-lang/rust/pull/130850)
159+
* [pass correct HirId to `late_bound_vars` in diagnostic code](https://github.com/rust-lang/rust/pull/130879)
160+
* [preserve brackets around if-lets and skip while-lets](https://github.com/rust-lang/rust/pull/131035)
161+
* [properly elaborate effects implied bounds for super traits](https://github.com/rust-lang/rust/pull/129499)
162+
* [reference UNSPECIFIED instead of `INADDR_ANY` in `join_multicast_v4`](https://github.com/rust-lang/rust/pull/130922)
163+
* [reject leading unsafe in `cfg!(...)` and `--check-cfg`](https://github.com/rust-lang/rust/pull/131057)
164+
* [rename `standalone` doctest attribute into `standalone_crate`](https://github.com/rust-lang/rust/pull/130931)
165+
* [reorder stack spills so that constants come later](https://github.com/rust-lang/rust/pull/130329)
166+
* [separate collection of crate-local inherent impls from error tracking](https://github.com/rust-lang/rust/pull/130764)
167+
* [simple validation for unsize coercion in MIR validation](https://github.com/rust-lang/rust/pull/130735)
168+
* [check vtable projections for validity in miri](https://github.com/rust-lang/rust/pull/130727)
169+
* [miri: implements `arc4random_buf` shim for freebsd/solarish platforms](https://github.com/rust-lang/miri/pull/3918)
170+
* [miri: make returning io errors more uniform and convenient](https://github.com/rust-lang/miri/pull/3929)
171+
* [miri: refactor `return_read_bytes_and_count` and `return_written_byte_count_or_error`](https://github.com/rust-lang/miri/pull/3923)
172+
* [miri: switch custom target JSON test to a less exotic target](https://github.com/rust-lang/miri/pull/3915)
173+
* [skip query in `get_parent_item` when possible](https://github.com/rust-lang/rust/pull/130618)
174+
* [stabilize `const_cell_into_inner`](https://github.com/rust-lang/rust/pull/130972)
175+
* [stabilize `const_intrinsic_copy`](https://github.com/rust-lang/rust/pull/130762)
176+
* [stabilize `const_refs_to_static`](https://github.com/rust-lang/rust/pull/129759)
177+
* [stabilize `option_get_or_insert_default`](https://github.com/rust-lang/rust/pull/129087)
178+
* [improve autovectorization of `to_lowercase` / `to_uppercase` functions](https://github.com/rust-lang/rust/pull/123778)
179+
* [add `File` constructors that return files wrapped with a buffer](https://github.com/rust-lang/rust/pull/130803)
180+
* [add `must_use` attribute to `len_utf8` and `len_utf16`](https://github.com/rust-lang/rust/pull/130819)
181+
* [add `optimize_for_size` variants for stable and unstable sort as well as `select_nth_unstable`](https://github.com/rust-lang/rust/pull/129587)
182+
* [fix `read_buf` uses in `std`](https://github.com/rust-lang/rust/pull/125404)
183+
* [make ptr metadata functions callable from stable const fn](https://github.com/rust-lang/rust/pull/130966)
184+
* [mark `make_ascii_uppercase` and `make_ascii_lowercase` in `[u8]` and `str` as const](https://github.com/rust-lang/rust/pull/130738)
185+
* [fix some cfg logic around `optimize_for_size` and 16-bit targets](https://github.com/rust-lang/rust/pull/130832)
186+
* [hook up `std::net` to wasi-libc on wasm32-wasip2 target](https://github.com/rust-lang/rust/pull/129638)
187+
* [compute `RUST_EXCEPTION_CLASS` from native-endian bytes](https://github.com/rust-lang/rust/pull/130897)
188+
* [hashbrown: change signature of `get_many_mut` APIs](https://github.com/rust-lang/hashbrown/pull/562)
189+
* [regex: add `SetMatches::matched_all`](https://github.com/rust-lang/regex/pull/1228)
190+
* [cargo timings: support dark color scheme in HTML output](https://github.com/rust-lang/cargo/pull/14588)
191+
* [cargo toml: Add `autolib`](https://github.com/rust-lang/cargo/pull/14591)
192+
* [cargo rustc: give trailing flags higher precedence on nightly](https://github.com/rust-lang/cargo/pull/14587)
193+
* [cargo config: Don't double-warn about `$CARGO_HOME/config`](https://github.com/rust-lang/cargo/pull/14579)
194+
* [cargo compiler: zero-copy deserialization when possible](https://github.com/rust-lang/cargo/pull/14608)
195+
* [cargo: add `CARGO_MANIFEST_PATH` env variable](https://github.com/rust-lang/cargo/pull/14404)
196+
* [cargo: lockfile path implies --locked on cargo install](https://github.com/rust-lang/cargo/pull/14556)
197+
* [cargo: make lockfile v4 the default](https://github.com/rust-lang/cargo/pull/14595)
198+
* [cargo: correct error count for `cargo check --message-format json`](https://github.com/rust-lang/cargo/pull/14598)
199+
* [cargo perf: improve quality of completion performance traces](https://github.com/rust-lang/cargo/pull/14592)
200+
* [cargo test: add support for features in the sat resolver](https://github.com/rust-lang/cargo/pull/14583)
201+
* [cargo test: relax compiler panic assertions](https://github.com/rust-lang/cargo/pull/14618)
202+
* [cargo test: relax panic output assertion](https://github.com/rust-lang/cargo/pull/14602)
203+
* [rustdoc perf: clone `clean::Item` less](https://github.com/rust-lang/rust/pull/130857)
204+
* [rustdoc: do not animate :target when user prefers reduced motion](https://github.com/rust-lang/rust/pull/130862)
205+
* [rustdoc: inherit parent's stability where applicable](https://github.com/rust-lang/rust/pull/130798)
206+
* [rustdoc: rewrite stability inheritance as a doc pass](https://github.com/rust-lang/rust/pull/131076)
207+
* [rustdoc: copy correct path to clipboard for modules/keywords/primitives](https://github.com/rust-lang/rust/pull/131023)
208+
* [rustdoc: redesign toolbar and disclosure widgets](https://github.com/rust-lang/rust/pull/129545)
209+
* [rustdoc toolbar: Adjust spacings and sizing to improve behavior with over-long names](https://github.com/rust-lang/rust/pull/131002)
210+
* [add `field@` and `variant@` doc-link disambiguators](https://github.com/rust-lang/rust/pull/130587)
211+
* [rustfmt: add `style_edition` 2027](https://github.com/rust-lang/rustfmt/pull/6324)
212+
* [clippy: `wildcard_in_or_patterns` will no longer be triggered for types annotated with `#[nonexhaustive]`](https://github.com/rust-lang/rust-clippy/pull/13456)
213+
* [clippy: `invalid_null_ptr_usage`: fix false positives for `std::ptr::slice_from_raw_parts` functions](https://github.com/rust-lang/rust-clippy/pull/13452)
214+
* [clippy: add reasons for or remove some `//@no-rustfix` annotations](https://github.com/rust-lang/rust-clippy/pull/13442)
215+
* [clippy: extend `needless_lifetimes` to suggest eliding `impl` lifetimes](https://github.com/rust-lang/rust-clippy/pull/13286)
216+
* [clippy: specifying reason in `expect(clippy::needless_return)` no longer triggers false positive](https://github.com/rust-lang/rust-clippy/pull/13393)
217+
* [clippy: ignore `--print`/`-Vv` requests in `clippy-driver`](https://github.com/rust-lang/rust-clippy/pull/13468)
218+
* [clippy: remove method call receiver special casing in `unused_async` lint](https://github.com/rust-lang/rust-clippy/pull/13471)
219+
* [clippy: suggest `Option<&T>` instead of `&Option<T>`](https://github.com/rust-lang/rust-clippy/pull/13336)
220+
* [clippy: convert `&Option<T>` to `Option<&T>`](https://github.com/rust-lang/rust-clippy/pull/13469)
221+
* [clippy: use `std_or_core` to determine the correct prefix](https://github.com/rust-lang/rust-clippy/pull/13453)
222+
* [rust-analyzer: building before a debugging session was restarted](https://github.com/rust-lang/rust-analyzer/pull/17923)
223+
* [rust-analyzer: index workspace symbols at startup rather than on the first symbol search](https://github.com/rust-lang/rust-analyzer/pull/18180)
224+
* [rust-analyzer: provide an config option to not set `cfg(test)`](https://github.com/rust-lang/rust-analyzer/pull/18085)
225+
* [rust-analyzer: ambiguity with CamelCase diagnostic messages, align with rustc warnings](https://github.com/rust-lang/rust-analyzer/pull/18207)
226+
* [rust-analyzer: better support references in consuming postfix completions](https://github.com/rust-lang/rust-analyzer/pull/18161)
227+
* [rust-analyzer: consider lifetime GATs object unsafe](https://github.com/rust-lang/rust-analyzer/pull/18162)
228+
* [rust-analyzer: don't report a startup error when a discover command is configured](https://github.com/rust-lang/rust-analyzer/pull/18193)
229+
* [rust-analyzer: fix a bug in span map merge, and add explanations of how span maps are stored](https://github.com/rust-lang/rust-analyzer/pull/18166)
230+
* [rust-analyzer: fix name resolution when an import is resolved to some namespace and then later in the algorithm another namespace is added](https://github.com/rust-lang/rust-analyzer/pull/18160)
231+
* [rust-analyzer: fix resolution of label inside macro](https://github.com/rust-lang/rust-analyzer/pull/18210)
232+
* [rust-analyzer: handle block exprs as modules when finding their parents](https://github.com/rust-lang/rust-analyzer/pull/18206)
233+
* [rust-analyzer: pass all-targets for build scripts in more cli commands](https://github.com/rust-lang/rust-analyzer/pull/18184)
130234

131235
### Rust Compiler Performance Triage
132236

@@ -356,7 +460,15 @@ Please see the latest [Who's Hiring thread on r/rust](INSERT_LINK_HERE)
356460

357461
# Quote of the Week
358462

359-
<!-- QOTW goes here -->
463+
> Just to provide another perspective: if you can write the programs you want to write, then all is good. You don't have to use every single tool in the standard library.
464+
>
465+
> I co-authored the Rust book. I have twelve years experience writing Rust code, and just over thirty years of experience writing software. I have written a macro_rules macro exactly one time, and that was 95% taking someone else's macro and modifying it. I have written one proc macro. I have used Box::leak once. I have never used Arc::downgrade. I've used Cow a handful of times.
466+
>
467+
> Don't stress yourself out. You're doing fine.
468+
469+
[Steve Klabnik on r/rust](https://www.reddit.com/r/rust/comments/1fofg43/comment/lopwnyd/)
470+
471+
Thanks to [Jacob Finkelman](https://users.rust-lang.org/t/twir-quote-of-the-week/328/1614) for the suggestion!
360472

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

0 commit comments

Comments
 (0)