Skip to content

Commit 92de987

Browse files
authored
Merge pull request #1538 from llogiq/twir-358
C/QotW + notable changes
2 parents 039ce13 + 097b734 commit 92de987

File tree

1 file changed

+33
-27
lines changed

1 file changed

+33
-27
lines changed

draft/2020-09-30-this-week-in-rust.md

Lines changed: 33 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ Here are the wonderful submissions since the call for blog posts:
4444

4545
# Crate of the Week
4646

47-
This week's crate is [cargo-about](https://crates.io/crates/cargo-about), a handy cargo subcommand to list the dependencies and their licenses!
47+
This week's crate is [fs-err](https://crates.io/crates/fs-err), a library to make filesystem errors usable.
4848

49-
Thanks to [Jimuazu](https://users.rust-lang.org/t/crate-of-the-week/2704/820) for the suggestion!
49+
Thanks to [Emerentius](https://users.rust-lang.org/t/crate-of-the-week/2704/821) for the suggestion!
5050

5151
[Submit your suggestions and votes for next week][submit_crate]!
5252

@@ -65,28 +65,34 @@ If you are a Rust project owner and are looking for contributors, please submit
6565

6666
# Updates from Rust Core
6767

68-
373 pull requests were [merged in the last week][merged]
69-
70-
[merged]: https://github.com/search?q=is%3Apr+org%3Arust-lang+is%3Amerged+merged%3A2020-09-14..2020-09-21
71-
72-
* [let user see the full type of type-length limit error](https://github.com/rust-lang/rust/pull/76843)
73-
* [don't allow implementing trait directly on `type-alias-impl-trait`](https://github.com/rust-lang/rust/pull/76940)
74-
* [give *even better* suggestion when matching a const range](https://github.com/rust-lang/rust/pull/76749)
75-
* [introduce a `PartitioningCx` struct](https://github.com/rust-lang/rust/pull/76694)
76-
* [initial support for `riscv32gc_unknown_linux_gnu`](https://github.com/rust-lang/rust/pull/76048)
77-
* [note when a a move/borrow error is caused by a deref coercion](https://github.com/rust-lang/rust/pull/75304)
78-
* [new MIR optimization pass to reduce branches on match of tuples of enums](https://github.com/rust-lang/rust/pull/75119)
79-
* [improve diagnostics for lifetime after `&mut`](https://github.com/rust-lang/rust/pull/73595)
80-
* [implement a generic Destination Propagation optimization on MIR](https://github.com/rust-lang/rust/pull/72632)
81-
* [miri: support non-rlib extern files](https://github.com/rust-lang/miri/pull/1557)
82-
* [add `as_str()` to `string::Drain`](https://github.com/rust-lang/rust/pull/76525)
83-
* [make all methods of `Duration` unstably const](https://github.com/rust-lang/rust/pull/76335)
84-
* [add `[T; N]: TryFrom<Vec<T>>`](https://github.com/rust-lang/rust/pull/76310)
85-
* [stabilize some `Result` methods as const](https://github.com/rust-lang/rust/pull/76136)
86-
* [stabilize some `Option` methods as const](https://github.com/rust-lang/rust/pull/76135)
87-
* [avoid useless `sift_down` when `std::collections::binary_heap::PeekMut` is never mutably dereferenced](https://github.com/rust-lang/rust/pull/75974)
88-
* [futures: implement `try_take_while`](https://github.com/rust-lang/futures-rs/pull/2212)
89-
* [clippy: change the criteria of `interior_mutable_const`](https://github.com/rust-lang/rust-clippy/pull/6046)
68+
370 pull requests were [merged in the last week][merged]
69+
70+
[merged]: https://github.com/search?q=is%3Apr+org%3Arust-lang+is%3Amerged+merged%3A2020-09-21..2020-09-28
71+
72+
* [return values up to 128 bits in registers](https://github.com/rust-lang/rust/pull/76986)
73+
* [add `asm!` support for MIPS](https://github.com/rust-lang/rust/pull/76839)
74+
* [diagnostics: improve closure/generic parameter mismatch](https://github.com/rust-lang/rust/pull/76711)
75+
* [avoiding unnecesary allocations at `rustc_errors`](https://github.com/rust-lang/rust/pull/76846)
76+
* [add fast path for match checking](https://github.com/rust-lang/rust/pull/76918)
77+
* [cache types during normalization](https://github.com/rust-lang/rust/pull/76928)
78+
* [fix the performance regression of #76244](https://github.com/rust-lang/rust/pull/76913)
79+
* [encode less metadata for proc-macro crates](https://github.com/rust-lang/rust/pull/76897)
80+
* [invalidate local LLVM cache less often](https://github.com/rust-lang/rust/pull/77126)
81+
* [introduce a new flag to enable experimental/unsound mir opts](https://github.com/rust-lang/rust/pull/76899)
82+
* [MIR pass to remove unneeded drops on types not needing drop](https://github.com/rust-lang/rust/pull/76673)
83+
* [add optimization to avoid load of address](https://github.com/rust-lang/rust/pull/76683)
84+
* [miri: more informative deallocation error messages](https://github.com/rust-lang/rust/pull/77047)
85+
* [miri: add API for capturing backtrace](https://github.com/rust-lang/miri/pull/1559)
86+
* [`DroplessArena`: allocate objects from the end of memory chunk](https://github.com/rust-lang/rust/pull/77014)
87+
* [unstably allow `assume` intrinsic in const contexts](https://github.com/rust-lang/rust/pull/76973)
88+
* [add `array::from_ref`](https://github.com/rust-lang/rust/pull/77074)
89+
* [add `#[track_caller]` to more panicking `Cell` functions](https://github.com/rust-lang/rust/pull/77055)
90+
* [make some methods of `Pin` unstably const](https://github.com/rust-lang/rust/pull/76655)
91+
* [revert `const_type_id` stabilization](https://github.com/rust-lang/rust/pull/77083)
92+
* [revert adding `Atomic::from_mut`](https://github.com/rust-lang/rust/pull/76967)
93+
* [add `cfg(target_has_atomic_equal_alignment)` and use it for `Atomic::from_mut`](https://github.com/rust-lang/rust/pull/76965)
94+
* [make `[].as_`[`mut_`]`ptr_range()` (unstably) const](https://github.com/rust-lang/rust/pull/77097)
95+
* [log: implement `Log` for `Box<Log>`](https://github.com/rust-lang/log/pull/414)
9096

9197
## Rust Compiler Performance Triage
9298

@@ -166,11 +172,11 @@ Email the [Rust Community Team][community] for access.
166172

167173
# Quote of the Week
168174

169-
> Sometimes you don't *want* the code to compile. The compiler's job is often to tell you that your code doesn't compile, rather than trying to find some meaning that allows compiling your code.
175+
> Rust has a curse (it has many, but this one is critical): inefficient code is generally visible. Experienced developers hate to notice that their code is inefficient. They will recoil at seeing `Arc<RefCell<T>>` , but won't bat an eye at using Python.
170176
171-
- [Josh Triplett on rust-internals](https://internals.rust-lang.org/t/pre-rfc-returning-automatically-generating-impl-trait/13090/11)
177+
- [Esteban Kuber on rust-users](https://users.rust-lang.org/t/failed-to-contribute-due-to-difficulty-in-understanding-rust/49148/6)
172178

173-
Thanks to [Jacob Pratt](https://users.rust-lang.org/t/twir-quote-of-the-week/328/943) for the suggestion!
179+
Thanks to [Jon G Stødle](https://users.rust-lang.org/t/twir-quote-of-the-week/328/945) for the suggestion!
174180

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

0 commit comments

Comments
 (0)