Skip to content

Commit 8a67668

Browse files
authored
Merge pull request #6167 from llogiq/twir-576
C/QotW and notable changes
2 parents 0f87219 + a2dcfa8 commit 8a67668

File tree

1 file changed

+117
-3
lines changed

1 file changed

+117
-3
lines changed

draft/2024-12-04-this-week-in-rust.md

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

5757
## Crate of the Week
5858

59-
<!-- COTW goes here -->
59+
This week's crate is [augurs](https://github.com/grafana/augurs), a time-series toolkit for Rust with bindings to JS & Python.
60+
61+
Thanks to [Ben Sully](https://users.rust-lang.org/t/crate-of-the-week/2704/1379) for the suggestion!
6062

6163
[Please submit your suggestions and votes for next week][submit_crate]!
6264

@@ -117,7 +119,115 @@ If you are an event organizer hoping to expand the reach of your event, please s
117119

118120
## Updates from the Rust Project
119121

120-
<!-- Rust updates go here -->
122+
488 pull requests were [merged in the last week][merged]
123+
124+
[merged]: https://github.com/search?q=is%3Apr+org%3Arust-lang+is%3Amerged+merged%3A2024-11-26..2024-12-03
125+
126+
* [`rust_analyzer_settings`: force use of 'nightly' toolchain](https://github.com/rust-lang/rust/pull/133712)
127+
* [add `needs-target-has-atomic` directive](https://github.com/rust-lang/rust/pull/133736)
128+
* [allow injecting a profiler runtime into `#![no_core]` crates](https://github.com/rust-lang/rust/pull/133369)
129+
* [bail on more errors in dyn ty lowering](https://github.com/rust-lang/rust/pull/133394)
130+
* [better diagnostic for fn items in variadic functions](https://github.com/rust-lang/rust/pull/133538)
131+
* [changes old intrinsic declaration to new declaration](https://github.com/rust-lang/rust/pull/133106)
132+
* [check `xform_ret_ty` for WF in the new solver to improve method winnowing](https://github.com/rust-lang/rust/pull/133519)
133+
* [check let source before suggesting annotation](https://github.com/rust-lang/rust/pull/133691)
134+
* [check local cache even if global is usable](https://github.com/rust-lang/rust/pull/133626)
135+
* [cleanup: delete `//@ pretty-expanded` directive](https://github.com/rust-lang/rust/pull/133470)
136+
* [constify `Drop` and `Destruct`](https://github.com/rust-lang/rust/pull/133402)
137+
* [coverage: store coverage source regions as `Span` until codegen](https://github.com/rust-lang/rust/pull/133418)
138+
* [coverage: use a query to identify which counter/expression IDs are used](https://github.com/rust-lang/rust/pull/133446)
139+
* [delay a bug when encountering an impl with unconstrained generics in `codegen_select`](https://github.com/rust-lang/rust/pull/133368)
140+
* [disable `avr-rjmp-offset` on Windows for now](https://github.com/rust-lang/rust/pull/133481)
141+
* [do not call `extern_crate` on current trait on crate mismatch errors](https://github.com/rust-lang/rust/pull/133585)
142+
* [do not constrain infer vars in `find_best_leaf_obligation`](https://github.com/rust-lang/rust/pull/133493)
143+
* [do not create trait object type if missing associated types](https://github.com/rust-lang/rust/pull/133660)
144+
* [do not unify dereferences of shared borrows in GVN](https://github.com/rust-lang/rust/pull/133474)
145+
* [don't type error if we fail to coerce `Pin<T>` because it doesnt contain a ref](https://github.com/rust-lang/rust/pull/133358)
146+
* [eliminate magic numbers from expression precedence](https://github.com/rust-lang/rust/pull/133603)
147+
* [enable `-Zshare-generics` for `inline(never)` functions](https://github.com/rust-lang/rust/pull/123244)
148+
* [ensure JSON-defined targets are consistent](https://github.com/rust-lang/rust/pull/133409)
149+
* [fast-reject: add depth check](https://github.com/rust-lang/rust/pull/133566)
150+
* [fix ICE when promoted has layout size overflow](https://github.com/rust-lang/rust/pull/133704)
151+
* [fix `-Zdump-mir-dataflow`](https://github.com/rust-lang/rust/pull/133732)
152+
* [fix `clobber_abi` in RV32E and RV64E inline assembly](https://github.com/rust-lang/rust/pull/133422)
153+
* [fix confusing diagnostic for reserved `##`](https://github.com/rust-lang/rust/pull/133487)
154+
* [fix handling of x18 in AArch64 inline assembly on ohos/trusty or with -Zfixed-x18](https://github.com/rust-lang/rust/pull/133463)
155+
* [gce: fix `typing_mode` mismatch](https://github.com/rust-lang/rust/pull/133471)
156+
* [get rid of HIR const checker](https://github.com/rust-lang/rust/pull/133321)
157+
* [improve span handling in `parse_expr_bottom`](https://github.com/rust-lang/rust/pull/133623)
158+
* [improvements on initial sysroot and libdir finding logics](https://github.com/rust-lang/rust/pull/132782)
159+
* [make `adjust_fulfillment_errors` work with `HostEffectPredicate` and `const_conditions`](https://github.com/rust-lang/rust/pull/133403)
160+
* [make `compare_impl_item` into a query](https://github.com/rust-lang/rust/pull/133365)
161+
* [only error raw lifetime followed by `\'` in edition 2021+](https://github.com/rust-lang/rust/pull/133482)
162+
* [only ignore windows-gnu in avr-jmp-offset](https://github.com/rust-lang/rust/pull/133513)
163+
* [print generated doc paths](https://github.com/rust-lang/rust/pull/133550)
164+
* [properly pass linker arguments that contain commas](https://github.com/rust-lang/rust/pull/132974)
165+
* [respect verify-llvm-ir option in the backend](https://github.com/rust-lang/rust/pull/133499)
166+
* [robustify and genericize return-type-notation resolution in `resolve_bound_vars`](https://github.com/rust-lang/rust/pull/132047)
167+
* [show `forbidden_lint_groups` in future-compat reports](https://github.com/rust-lang/rust/pull/133535)
168+
* [support `clobber_abi` in AVR inline assembly](https://github.com/rust-lang/rust/pull/131323)
169+
* [support input/output in vector registers of PowerPC inline assembly](https://github.com/rust-lang/rust/pull/131551)
170+
* [support predicate registers (clobber-only) in Hexagon inline assembly](https://github.com/rust-lang/rust/pull/133452)
171+
* [support revealing defined opaque post borrowck](https://github.com/rust-lang/rust/pull/133501)
172+
* [target `check_consistency`: ensure target feature string makes some basic sense](https://github.com/rust-lang/rust/pull/133410)
173+
* [the emscripten OS no longer exists on non-wasm targets](https://github.com/rust-lang/rust/pull/133411)
174+
* [use edition of `macro_rules` when compiling the macro](https://github.com/rust-lang/rust/pull/133274)
175+
* [use stores of the correct size to set discriminants](https://github.com/rust-lang/rust/pull/131698)
176+
* [miri: implement `TlsFree`](https://github.com/rust-lang/rust/pull/133457)
177+
* [miri: filesystem support for solarish: stat](https://github.com/rust-lang/miri/pull/4031)
178+
* [miri: move FdTable to a common location and split off Unix behavior](https://github.com/rust-lang/miri/pull/4045)
179+
* [miri: remove ctrlc, unused](https://github.com/rust-lang/miri/pull/4064)
180+
* [stop cloning `Context` so much](https://github.com/rust-lang/rust/pull/133345)
181+
* [recover some lost performence](https://github.com/rust-lang/rust/pull/133509)
182+
* [stabilize `const_maybe_uninit_write`](https://github.com/rust-lang/rust/pull/131713)
183+
* [stabilize `extended_varargs_abi_support`](https://github.com/rust-lang/rust/pull/116161)
184+
* [stabilize `ptr::fn_addr_eq`](https://github.com/rust-lang/rust/pull/133678)
185+
* [stabilize unsigned and float variants of `num_midpoint` feature](https://github.com/rust-lang/rust/pull/131784)
186+
* [`thread::available_parallelism` for wasm32-wasip1-threads](https://github.com/rust-lang/rust/pull/133496)
187+
* [add `BTreeSet` entry APIs to match `HashSet`](https://github.com/rust-lang/rust/pull/133548)
188+
* [btree: add `{Entry,VacantEntry}::insert_entry`](https://github.com/rust-lang/rust/pull/133042)
189+
* [fix chaining `carrying_add`s](https://github.com/rust-lang/rust/pull/133674)
190+
* [mark `slice::copy_from_slice` unstably const](https://github.com/rust-lang/rust/pull/131416)
191+
* [std: expose `const_io_error!` as `const_error!`](https://github.com/rust-lang/rust/pull/133449)
192+
* [std: refactor `pthread`-based synchronization](https://github.com/rust-lang/rust/pull/128184)
193+
* [fix and undeprecate `home_dir()`](https://github.com/rust-lang/rust/pull/132515)
194+
* [support ranges in `<[T]>::get_many_mut()`](https://github.com/rust-lang/rust/pull/133136)
195+
* [cargo: toml: Allow adding/removing from cargo scripts](https://github.com/rust-lang/cargo/pull/14857)
196+
* [cargo: build-std: always link to std when testing proc-macros](https://github.com/rust-lang/cargo/pull/14850)
197+
* [cargo: fix: Migrate cargo script manifests across editions](https://github.com/rust-lang/cargo/pull/14864)
198+
* [cargo: build-std: download deps first](https://github.com/rust-lang/cargo/pull/14861)
199+
* [cargo: pgo: determine test runnability at compile time](https://github.com/rust-lang/cargo/pull/14874)
200+
* [cargo: pgo: ensure PGO works](https://github.com/rust-lang/cargo/pull/14859)
201+
* [cargo: pgo: only run on nightly](https://github.com/rust-lang/cargo/pull/14887)
202+
* [cargo: add future-incompat warning against keywords in cfgs and add raw-idents](https://github.com/rust-lang/cargo/pull/14671)
203+
* [cargo: fix: remove default registry reference in `info` cmd docs](https://github.com/rust-lang/cargo/pull/14880)
204+
* [cargo: git-fetch-with-cli: set `GIT_DIR` for bare repository compatibility](https://github.com/rust-lang/cargo/pull/14860)
205+
* [cargo: test: `requires` attribute accepts string literals for cmds](https://github.com/rust-lang/cargo/pull/14875)
206+
* [rustdoc-json: include safety of `static`s](https://github.com/rust-lang/rust/pull/133715)
207+
* [rustdoc: Change impl items indent](https://github.com/rust-lang/rust/pull/131718)
208+
* [bindgen: add support for unsafe extern blocks](https://github.com/rust-lang/rust-bindgen/pull/3015)
209+
* [bindgen: consolidate dependency version management](https://github.com/rust-lang/rust-bindgen/pull/3008)
210+
* [bindgen: extend parse callbacks to expose discovered composite types and aliases](https://github.com/rust-lang/rust-bindgen/pull/2658)
211+
* [bindgen: generate C-String literals `c"example"` instead of unsafe code](https://github.com/rust-lang/rust-bindgen/pull/2996)
212+
* [bindgen: improve debug str generator](https://github.com/rust-lang/rust-bindgen/pull/3010)
213+
* [bindgen: introduce `--rust-edition`](https://github.com/rust-lang/rust-bindgen/pull/3002)
214+
* [bindgen: use v2 cargo resolver](https://github.com/rust-lang/rust-bindgen/pull/2999)
215+
* [bindgen: wrap the array representation of opaque types in a `#[repr(C)] struct`](https://github.com/rust-lang/rust-bindgen/pull/2880)
216+
* [rustfmt: use preinterned `path` symbol](https://github.com/rust-lang/rustfmt/pull/6404)
217+
* [clippy: `bad_bit_mask` Fix false positive on proc macros](https://github.com/rust-lang/rust-clippy/pull/13736)
218+
* [clippy: `doc_nested_refdefs`: new lint for suspicious list syntax](https://github.com/rust-lang/rust-clippy/pull/13707)
219+
* [clippy: add more cases to the `useless_conversion` lint](https://github.com/rust-lang/rust-clippy/pull/13756)
220+
* [clippy: add new `literal_string_with_formatting_args` lint](https://github.com/rust-lang/rust-clippy/pull/13410)
221+
* [clippy: fix `needless_match` FP on if-lets](https://github.com/rust-lang/rust-clippy/pull/13646)
222+
* [clippy: fix `shadow_unrelated`'s behaviour with closures](https://github.com/rust-lang/rust-clippy/pull/13677)
223+
* [clippy: fix lifetimes elision suggestion in where clauses](https://github.com/rust-lang/rust-clippy/pull/13752)
224+
* [clippy: fix: use `multipart_suggestion` for `derivable_impls`](https://github.com/rust-lang/rust-clippy/pull/13717)
225+
* [clippy: handle repetition of associated constant constraint as well](https://github.com/rust-lang/rust-clippy/pull/13723)
226+
* [rust-analyzer: advertise completions and inlay hints resolve server capabilities based on the client capabilities](https://github.com/rust-lang/rust-analyzer/pull/18589)
227+
* [rust-analyzer: fix debug configuration querying not inheriting environment](https://github.com/rust-lang/rust-analyzer/pull/18586)
228+
* [rust-analyzer: fix syntax fixup inserting unnecessary semicolons](https://github.com/rust-lang/rust-analyzer/pull/18587)
229+
* [rust-analyzer: re-add `rust-analyzer.cargo.sysrootQueryMetadata`](https://github.com/rust-lang/rust-analyzer/pull/18511)
230+
* [rust-analyzer: remove redundant associated type bounds from `dyn TypeFolder`](https://github.com/rust-lang/rust-analyzer/pull/18577)
121231

122232
### Rust Compiler Performance Triage
123233

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

350460
# Quote of the Week
351461

352-
<!-- QOTW goes here -->
462+
> "self own" sounds like a rust thing
463+
464+
[ionchy on Mastodon](https://types.pl/@ionchy/113567387219906256)
465+
466+
Thanks to [Jacob Pratt](https://users.rust-lang.org/t/twir-quote-of-the-week/328/1636) for the suggestion!
353467

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

0 commit comments

Comments
 (0)