Skip to content

Commit afb57eb

Browse files
committed
C/QotW + notable changes
1 parent 6eef5e6 commit afb57eb

File tree

1 file changed

+31
-30
lines changed

1 file changed

+31
-30
lines changed

draft/2020-11-4-this-week-in-rust.md

Lines changed: 31 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ If you find any errors in this week's issue, [please submit a PR](https://github
2828

2929
# Crate of the Week
3030

31-
This week's crate is [rust-gpu](https://github.com/EmbarkStudios/rust-gpu) from Embark Studios, a system to compile Rust code into Vulkan graphics shaders (with other shader types to follow).
31+
This week's crate is [tract](https://github.com/sonos/tract) from Sonos, a neural network inference library, written purely in Rust for models in ONNX, NNEF and TF formats.
3232

33-
Thanks to [Vlad Frolov](https://users.rust-lang.org/t/crate-of-the-week/2704/831) for the suggestion!
33+
Thanks to [Benjamin Minixhofer](https://users.rust-lang.org/t/crate-of-the-week/2704/837) for the suggestion!
3434

3535
[Submit your suggestions and votes for next week][submit_crate]!
3636

@@ -49,31 +49,32 @@ If you are a Rust project owner and are looking for contributors, please submit
4949

5050
# Updates from Rust Core
5151

52-
400 pull requests were [merged in the last week][merged]
53-
54-
[merged]: https://github.com/search?q=is%3Apr+org%3Arust-lang+is%3Amerged+merged%3A2020-10-19..2020-10-26
55-
56-
* [tweak `if let` suggestion to be more liberal with suggestion and to not ICE](https://github.com/rust-lang/rust/pull/77283)
57-
* [reduce diagram mess in 'match arms have incompatible types' error](https://github.com/rust-lang/rust/pull/78255)
58-
* [tweak match arm semicolon removal suggestion to account for futures](https://github.com/rust-lang/rust/pull/78214)
59-
* [explain where the closure return type was inferred](https://github.com/rust-lang/rust/pull/78235)
60-
* [rewrite `collect_tokens` implementations to use a flattened buffer](https://github.com/rust-lang/rust/pull/77250)
61-
* [fix trait solving ICEs](https://github.com/rust-lang/rust/pull/77720)
62-
* [stop promoting union field accesses in 'const'](https://github.com/rust-lang/rust/pull/77526)
63-
* [ensure that statics are inhabited](https://github.com/rust-lang/rust/pull/78324)
64-
* [rustc_mir: track inlined callees in `SourceScopeData`](https://github.com/rust-lang/rust/pull/68965)
65-
* [optimize const value interning for ZST types](https://github.com/rust-lang/rust/pull/78061)
66-
* [calculate visibilities once in resolve](https://github.com/rust-lang/rust/pull/78077)
67-
* [mir-opt: disable MatchBranchSimplification](https://github.com/rust-lang/rust/pull/78151)
68-
* [implement `TryFrom` between `NonZero` types](https://github.com/rust-lang/rust/pull/77339)
69-
* [add `Pin::static_ref`, `static_mut`](https://github.com/rust-lang/rust/pull/77726)
70-
* [support custom allocators in `Box`](https://github.com/rust-lang/rust/pull/77187)
71-
* [hashbrown: parametrize RawTable, HashSet and HashMap over an allocator](https://github.com/rust-lang/hashbrown/pull/133)
72-
* [rustdoc: greatly improve display for small mobile devices screens](https://github.com/rust-lang/rust/pull/78084)
73-
* [clippy: add linter for a single element for loop](https://github.com/rust-lang/rust-clippy/pull/6109)
74-
* [clippy: add lint for `&mut Mutex::lock`](https://github.com/rust-lang/rust-clippy/pull/6103)
75-
* [clippy: add new lint for undropped `ManuallyDrop` values](https://github.com/rust-lang/rust-clippy/pull/6181)
76-
* [clippy: lint unnecessary int-to-int and float-to-float casts](https://github.com/rust-lang/rust-clippy/pull/6187)
52+
374 pull requests were [merged in the last week][merged]
53+
54+
[merged]: https://github.com/search?q=is%3Apr+org%3Arust-lang+is%3Amerged+merged%3A2020-10-26..2020-11-02
55+
56+
* [add cg_clif as optional codegen backend](https://github.com/rust-lang/rust/pull/77975) (Woohoo!)
57+
* [rustc_span: improve bounds checks in byte_pos_to_line_and_col](https://github.com/rust-lang/rust/pull/78423)
58+
* [adjust turbofish help message for const generics](https://github.com/rust-lang/rust/pull/78460)
59+
* [avoid complex diagnostics in snippets which contain newlines](https://github.com/rust-lang/rust/pull/75020)
60+
* [suggest calling await on method call and field access](https://github.com/rust-lang/rust/pull/78297)
61+
* [fix control flow check for breaking with diverging values](https://github.com/rust-lang/rust/pull/77317)
62+
* [uplift `temporary-cstring-as-ptr` lint from clippy into rustc](https://github.com/rust-lang/rust/pull/75671)
63+
* [check object safety of generic constants](https://github.com/rust-lang/rust/pull/78365)
64+
* [chalk: make max goal size for recursive solver configurable](https://github.com/rust-lang/chalk/pull/647)
65+
* [coherence check perf: iterate over the smaller list](https://github.com/rust-lang/rust/pull/78323)
66+
* [optimise align_offset for stride=1 further](https://github.com/rust-lang/rust/pull/75728)
67+
* [inline `NonZeroN::from(n)`](https://github.com/rust-lang/rust/pull/78491)
68+
* [inline Default::default() for atomics](https://github.com/rust-lang/rust/pull/78621)
69+
* [inline some functions in core::str](https://github.com/rust-lang/rust/pull/78073)
70+
* [prevent `String::retain` from creating non-utf8 strings when abusing panic](https://github.com/rust-lang/rust/pull/78499)
71+
* [add `fetch_update` methods to `AtomicBool` and `AtomicPtr`](https://github.com/rust-lang/rust/pull/78637)
72+
* [add `[T]::as_chunks`(`_mut`)](https://github.com/rust-lang/rust/pull/76635)
73+
* [fix `Box::into_unique`](https://github.com/rust-lang/rust/pull/78446)
74+
* [hashbrown: better branch likelyness on stable](https://github.com/rust-lang/hashbrown/pull/209)
75+
* [futures: add `WeakShared`](https://github.com/rust-lang/futures-rs/pull/2169)
76+
* [cargo: add a future-compatibility warning on allowed feature name characters](https://github.com/rust-lang/cargo/pull/8814)
77+
* [cargo: new namespaced features implementation](https://github.com/rust-lang/cargo/pull/8799)
7778

7879
## Rust Compiler Performance Triage
7980

@@ -139,11 +140,11 @@ Email the [Rust Community Team][community] for access.
139140

140141
# Quote of the Week
141142

142-
> what many devs often miss initially when talking about Rust is that it isn't just about the design & details of the language (which is great), Rust's super power is that in combination with its fantastic community & ecosystem, and the amazing friendly people that create & form it
143+
> Like other languages Rust does have footguns. The difference is that we keep ours locked up in the unsafe.
143144
144-
[Johann Andersson on twitter](https://mobile.twitter.com/repi)
145+
[Ted Mielczarek on twitter](https://twitter.com/TedMielczarek/status/1322618223980892161)
145146

146-
llogiq is pretty pleased with his own suggestion and unanimously voted for it.
147+
Thanks to [Nikolai Vazquez](https://users.rust-lang.org/t/twir-quote-of-the-week/328/956) for the suggestion.
147148

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

0 commit comments

Comments
 (0)