Skip to content

Commit 097b734

Browse files
committed
C/QotW + notable changes
1 parent ba4424a commit 097b734

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
@@ -43,9 +43,9 @@ Here are the wonderful submissions since the call for blog posts:
4343

4444
# Crate of the Week
4545

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

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

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

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

6565
# Updates from Rust Core
6666

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

9096
## Rust Compiler Performance Triage
9197

@@ -165,11 +171,11 @@ Email the [Rust Community Team][community] for access.
165171

166172
# Quote of the Week
167173

168-
> 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.
174+
> 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.
169175
170-
- [Josh Triplett on rust-internals](https://internals.rust-lang.org/t/pre-rfc-returning-automatically-generating-impl-trait/13090/11)
176+
- [Esteban Kuber on rust-users](https://users.rust-lang.org/t/failed-to-contribute-due-to-difficulty-in-understanding-rust/49148/6)
171177

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

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

0 commit comments

Comments
 (0)