Skip to content

Commit b0163e5

Browse files
authored
C/QotW + notable changes (#3526)
1 parent 0a59129 commit b0163e5

File tree

1 file changed

+70
-3
lines changed

1 file changed

+70
-3
lines changed

draft/2022-08-10-this-week-in-rust.md

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

5050
## Crate of the Week
5151

52-
<!-- COTW goes here -->
52+
This week's crate is [fang](https://github.com/ayrat555/fang) an async background processing crate.
53+
54+
Thanks to [Ayrat Badykov](https://users.rust-lang.org/t/crate-of-the-week/2704/1096) for the self-suggestion.
5355

5456
[Please submit your suggestions and votes for next week][submit_crate]!
5557

@@ -68,7 +70,67 @@ If you are a Rust project owner and are looking for contributors, please submit
6870

6971
## Updates from the Rust Project
7072

71-
<!-- Rust updates go here -->
73+
330 pull requests were [merged in the last week][merged]
74+
75+
[merged]: https://github.com/search?q=is%3Apr+org%3Arust-lang+is%3Amerged+merged%3A2022-08-01..2022-08-08
76+
77+
* [add support for link-flavor rust-lld for iOS, tvOS and watchOS](https://github.com/rust-lang/rust/pull/98771)
78+
* [enable function merging when opt is for size](https://github.com/rust-lang/rust/pull/100035)
79+
* [recover `require`, `include` instead of `use` in item](https://github.com/rust-lang/rust/pull/100167)
80+
* [recover from C++ style `enum struct`](https://github.com/rust-lang/rust/pull/99786)
81+
* [provide suggestion on missing `let` in binding statement](https://github.com/rust-lang/rust/pull/100111)
82+
* [improve diagnostics for `const a: = expr;`](https://github.com/rust-lang/rust/pull/100168)
83+
* [revive suggestions for boxed trait objects instead of impl Trait](https://github.com/rust-lang/rust/pull/100019)
84+
* [suggest a positional formatting argument instead of a captured argument](https://github.com/rust-lang/rust/pull/100058)
85+
* [suggest adding/removing `ref` for binding patterns](https://github.com/rust-lang/rust/pull/99835)
86+
* [warn about dead tuple struct fields](https://github.com/rust-lang/rust/pull/95977)
87+
* [do not exclusively suggest `;` when `,` is also a choice](https://github.com/rust-lang/rust/pull/98796)
88+
* [avoid pointing out `return` span if it has nothing to do with type error](https://github.com/rust-lang/rust/pull/100130)
89+
* [always create elided lifetimes, even if inferred](https://github.com/rust-lang/rust/pull/99953)
90+
* [enable unused_parens for match arms](https://github.com/rust-lang/rust/pull/100093)
91+
* [prevent ICE for `doc_alias` on match arm, statement, expression](https://github.com/rust-lang/rust/pull/100029)
92+
* [detect type mismatch due to loop that might never iterate](https://github.com/rust-lang/rust/pull/100094)
93+
* [miri: add `mkstemp` shim for unix](https://github.com/rust-lang/miri/pull/2346)
94+
* [miri: add shim for realpath on unix](https://github.com/rust-lang/miri/pull/2457)
95+
* [miri: add support for env::home_dir](https://github.com/rust-lang/miri/pull/2467)
96+
* [miri: also forward --manifest-path to 'cargo metadata'](https://github.com/rust-lang/miri/pull/2474)
97+
* [miri: fix an ICE in nanosleep()](https://github.com/rust-lang/miri/pull/2466)
98+
* [miri: implement some missing float functions](https://github.com/rust-lang/miri/pull/2469)
99+
* [avoid invalidating the CFG in `MirPatch`](https://github.com/rust-lang/rust/pull/100087)
100+
* [remove `fn backtrace` and replace with usages of provider API](https://github.com/rust-lang/rust/pull/99431)
101+
* [add back `Send` and `Sync` impls on `ChunksMut` iterators](https://github.com/rust-lang/rust/pull/100023)
102+
* [optimize `pointer::as_aligned_to`](https://github.com/rust-lang/rust/pull/100169)
103+
* [portable SIMD: fix interleave/deinterleave for vectors with only one lane](https://github.com/rust-lang/portable-simd/pull/299)
104+
* [codegen\_gcc: support symbol visibility](https://github.com/rust-lang/rustc_codegen_gcc/pull/203)
105+
* [cargo: improve error message for `no such subcommand`](https://github.com/rust-lang/cargo/pull/10924)
106+
* [rustdoc: avoid inlining modules with duplicate names](https://github.com/rust-lang/rust/pull/99738)
107+
* [rustdoc: do not mark the contents of a skipped module as inlined](https://github.com/rust-lang/rust/pull/100207)
108+
* [rust-analyzer: add a setting to disable comment continuation in VSCode](https://github.com/rust-lang/rust-analyzer/pull/12934)
109+
* [rust-analyzer: add fixups for incomplete in proc-macros](https://github.com/rust-lang/rust-analyzer/pull/12937)
110+
* [rust-analyzer: add more constructors and entry-APIs for la-arena](https://github.com/rust-lang/rust-analyzer/pull/12931)
111+
* [rust-analyzer: add syntax fixup for while loops](https://github.com/rust-lang/rust-analyzer/pull/12880)
112+
* [rust-analyzer: corrected order of printing op and `=`](https://github.com/rust-lang/rust-analyzer/pull/12974)
113+
* [rust-analyzer: don't switch workspace on vfs file changes from libraries](https://github.com/rust-lang/rust-analyzer/pull/12947)
114+
* [rust-analyzer: error Diagnostics appear in the wrong place](https://github.com/rust-lang/rust-analyzer/pull/12939)
115+
* [rust-analyzer: fix `test_rainbow_highlighting` gate](https://github.com/rust-lang/rust-analyzer/pull/12959)
116+
* [rust-analyzer: generate rust type from json](https://github.com/rust-lang/rust-analyzer/pull/12905)
117+
* [rust-analyzer: more methods and traits for `la_arena::ArenaMap`](https://github.com/rust-lang/rust-analyzer/pull/12956)
118+
* [rust-analyzer: parse range patterns in struct and slice without trailing comma](https://github.com/rust-lang/rust-analyzer/pull/12962)
119+
* [rust-analyzer: run stable `fmt` & `cargo` through `rustup`](https://github.com/rust-lang/rust-analyzer/pull/12953)
120+
* [rust-analyzer: use an empty expander for ignored non-attribute proc-macros](https://github.com/rust-lang/rust-analyzer/pull/12933)
121+
* [rust-analyzer: handle operators like their trait functions in the IDE layer](https://github.com/rust-lang/rust-analyzer/pull/12948)
122+
* [rust-analyzer: support associated values in "Generate Enum Variant" assist](https://github.com/rust-lang/rust-analyzer/pull/12837)
123+
* [rust-analyzer: fix incorrect token pick rankings](https://github.com/rust-lang/rust-analyzer/pull/12949)
124+
* [rust-analyzer: make `concat!` work with char](https://github.com/rust-lang/rust-analyzer/pull/12942)
125+
* [clippy: add `elapsed_instant` lint](https://github.com/rust-lang/rust-clippy/pull/9264)
126+
* [clippy: fix ICE when reading literals with weird proc-macro spans](https://github.com/rust-lang/rust-clippy/pull/9303)
127+
* [clippy: fix `cast_abs_to_unsigned` with code in parens](https://github.com/rust-lang/rust-clippy/pull/9266)
128+
* [clippy: fix suggestions for `async` closures in `redundant_closure_call`](https://github.com/rust-lang/rust-clippy/pull/9053)
129+
* [clippy: more proc-macro detection](https://github.com/rust-lang/rust-clippy/pull/8694)
130+
* [clippy: move `significant_drop_in_scrutinee` into `nursery`](https://github.com/rust-lang/rust-clippy/pull/9302)
131+
* [clippy: rename `logic_bug` to `overly_complex_bool_expr`](https://github.com/rust-lang/rust-clippy/pull/9306)
132+
* [clippy: `explicit_auto_deref` changes](https://github.com/rust-lang/rust-clippy/pull/9126)
133+
* [clippy: add paren before '?' when suggesting deref for `clone_on_copy`](https://github.com/rust-lang/rust-clippy/pull/9282)
72134

73135
### Rust Compiler Performance Triage
74136

@@ -207,7 +269,12 @@ Please see the latest [Who's Hiring thread on r/rust](INSERT_LINK_HERE)
207269

208270
# Quote of the Week
209271

210-
<!-- QOTW goes here -->
272+
> Don't come empty-handed to a project saying "this could be rewritten in Rust". It's obnoxious and gives the rust community a bad name.
273+
> Do start the project on your own, adding Rust to the build system and converting some significant functions, and then ask the project's community for comments.
274+
275+
[moltonel on /r/rust](https://www.reddit.com/r/rust/comments/wfriz3/comment/iiw49bw/)
276+
277+
Thanks to [zjp-CN](https://users.rust-lang.org/t/twir-quote-of-the-week/328/1277) for the suggestion!
211278

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

0 commit comments

Comments
 (0)