Skip to content

Commit 25ece24

Browse files
committed
C/QotW+notable changes
1 parent 559a098 commit 25ece24

File tree

1 file changed

+51
-26
lines changed

1 file changed

+51
-26
lines changed

drafts/2019-11-19-this-week-in-rust.md

Lines changed: 51 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,9 @@ Find all #Rust2020 posts at [Read Rust](https://readrust.net/rust-2020/).
2222

2323
# Crate of the Week
2424

25-
This week has multiple crates:
25+
This week's crate is [wasmtime](https://github.com/bytecodealliance/wasmtime), a standalone JIT-style runtime for WebAssembly.
2626

27-
* [accurate](https://crates.io/crates/accurate), accumulator types for more accurate (or even provably correct) sum and dot product of floatting-point numbers
28-
* [transfer](https://github.com/dureuill/transfer), a crate to transfer values between pinned instances.
29-
* [genawaiter](https://github.com/whatisaphone/genawaiter), a crate to allow generators on stable Rust.
30-
31-
Thanks to [Nestor Demeure](https://users.rust-lang.org/t/crate-of-the-week/2704/666) and [Willi Kappler](https://users.rust-lang.org/t/crate-of-the-week/2704/669) for the suggestions!
27+
Thanks to [Josh Triplett](https://users.rust-lang.org/t/crate-of-the-week/2704/671) for the suggestions!
3228

3329
[Submit your suggestions and votes for next week][submit_crate]!
3430

@@ -52,23 +48,46 @@ If you are a Rust project owner and are looking for contributors, please submit
5248

5349
# Updates from Rust Core
5450

55-
310 pull requests were [merged in the last week][merged]
56-
57-
[merged]: https://github.com/search?q=is%3Apr+org%3Arust-lang+is%3Amerged+merged%3A2019-11-04..2019-11-11
58-
59-
* [compiler-builtins: Gate atomic intrinsics on presence of instructions](https://github.com/rust-lang/compiler-builtins/pull/324)
60-
* [Fix C aggregate-passing ABI on powerpc](https://github.com/rust-lang/rust/pull/66050)
61-
* [Reduce amount of errors given unclosed delimiter](https://github.com/rust-lang/rust/pull/65838)
62-
* [Remove LintBuffer from Session](https://github.com/rust-lang/rust/pull/65835)
63-
* [Rename `MethodSig``FnSig` and use it in `ItemKind::Fn`](https://github.com/rust-lang/rust/pull/66188)
64-
* [Cheaper doc comments](https://github.com/rust-lang/rust/pull/65750)
65-
* [Chalk: Implement lowering errors manually](https://github.com/rust-lang/chalk/pull/276)
66-
* [Use `ptr::drop_in_place` for `VecDeque::`{`truncate`, `clear`}](https://github.com/rust-lang/rust/pull/65933)
67-
* [Stabilize the `re_rebalance_coherence` feature](https://github.com/rust-lang/rust/pull/65879)
68-
* [Add `MaybeUninit` methods `uninit_array`, `slice_get_ref`, `slice_get_mut`](https://github.com/rust-lang/rust/pull/65580)
69-
* [hashbrown: Remove BuildHasher requirement from raw entry APIs](https://github.com/rust-lang/hashbrown/pull/123)
70-
* [hashbrown: Optimize set union and intersection](https://github.com/rust-lang/hashbrown/pull/130)
71-
* [clippy: Remove plugin interface](https://github.com/rust-lang/rust-clippy/pull/4714)
51+
252 pull requests were [merged in the last week][merged]
52+
53+
[merged]: https://github.com/search?q=is%3Apr+org%3Arust-lang+is%3Amerged+merged%3A2019-11-11..2019-11-18
54+
55+
* [add a callback that allows compiler consumers to override queries](https://github.com/rust-lang/rust/pull/66297)
56+
* [update LLVM submodule](https://github.com/rust-lang/rust/pull/66318)
57+
* [expand source_util macros with def-site context](https://github.com/rust-lang/rust/pull/66349)
58+
* [improve errors after re rebalance coherence](https://github.com/rust-lang/rust/pull/66253)
59+
* [move `Session` fields to `CrateStore`](https://github.com/rust-lang/rust/pull/66334)
60+
* [improve non-exhaustiveness handling in usefulness checking](https://github.com/rust-lang/rust/pull/66330)
61+
* [refactor integer range handling in the usefulness algorithm](https://github.com/rust-lang/rust/pull/66326)
62+
* [remove some stack frames from `.async` calls](https://github.com/rust-lang/rust/pull/66398)
63+
* [avoid hashing the key twice in `get_query()`](https://github.com/rust-lang/rust/pull/66013)
64+
* [don't warn labels beginning with `_` on unused_labels lint](https://github.com/rust-lang/rust/pull/66419)
65+
* [only include "already existing ..." comment in gitignore on conflict](https://github.com/rust-lang/cargo/pull/7570)
66+
* [suggest borrowing when it would satisfy an unmet trait bound](https://github.com/rust-lang/rust/pull/65456)
67+
* [fully integrate derive helpers into name resolution](https://github.com/rust-lang/rust/pull/64694)
68+
* [push `ast::{ItemKind, ImplItemKind}::OpaqueTy` hack down into lowering](https://github.com/rust-lang/rust/pull/66197)
69+
* [add a HIR pass to check consts for `if`, `loop`, etc.](https://github.com/rust-lang/rust/pull/66170)
70+
* [fix MIR lowering evaluation order and soundness bug](https://github.com/rust-lang/rust/pull/65608)
71+
* [split `ConstValue` into two enums](https://github.com/rust-lang/rust/pull/66233)
72+
* [fix two OOM issues related to `ConstProp`](https://github.com/rust-lang/rust/pull/66394)
73+
* [make dataflow-based const qualification the canonical one](https://github.com/rust-lang/rust/pull/66385)
74+
* [miri: use new isize_max method in FS accesses](https://github.com/rust-lang/miri/pull/1056)
75+
* [miri panic_unwind: fix hack for SEH platforms](https://github.com/rust-lang/rust/pull/66466)
76+
* [make chalk-rust-ir generic over type-family](https://github.com/rust-lang/chalk/pull/284)
77+
* [chalk: refactor fold](https://github.com/rust-lang/chalk/pull/283)
78+
* [chalk: implement `zip_binders` and add some `dyn Trait`/`impl Trait` tests](https://github.com/rust-lang/chalk/pull/282)
79+
* [add `Result::map_or`](https://github.com/rust-lang/rust/pull/66292)
80+
* [fix `HashSet::union` performance](https://github.com/rust-lang/rust/pull/66280)
81+
* [add raw ptr variant of `UnsafeCell::get`](https://github.com/rust-lang/rust/pull/66248)
82+
* [proposal for `BTree`{`Map`, `Set`}`::`{`min`, `max`}](https://github.com/rust-lang/rust/pull/65637)
83+
* [make the semantics of `Vec::truncate(_)` consistent with slices](https://github.com/rust-lang/rust/pull/64432)
84+
* [libc: add support for making functions `const`](https://github.com/rust-lang/libc/pull/1536)
85+
* [cargo: Don't panic when parsing `/proc/stat`](https://github.com/rust-lang/cargo/pull/7580)
86+
* [stabilize rustdoc theme options](https://github.com/rust-lang/rust/pull/54733)
87+
* [rustup build: make clippy faster by using checking before that operation](https://github.com/rust-lang/rustup/pull/2122)
88+
* [rustup: retry downloads](https://github.com/rust-lang/rustup/pull/2121)
89+
* [rustup: fix/improve human-readable units](https://github.com/rust-lang/rustup/pull/2043)
90+
* [measureme: only use 48 bits for encoding timestamps and 32 bits for encoding thread IDs in `RawEvent` in order to make it smaller](https://github.com/rust-lang/measureme/pull/86)
7291

7392
## Approved RFCs
7493

@@ -137,11 +156,17 @@ Email the [Rust Community Team][community] for access.
137156

138157
# Quote of the Week
139158

140-
> In my experience, prayers are not a very effective concurrency primitive.
159+
This week, we have two quotes:
160+
161+
> Telling a programmer there's already a library to do X is like telling a songwriter there's already a song about love.
162+
163+
[PeteCordell on twitter](https://twitter.com/petecordell/status/428542622844477441), as [quoted in a recent Rust Gamedev meetup](https://www.youtube.com/watch?v=lpOg2nl3kr0)
164+
165+
> Well a Museum purpose is also memory safety, I guess.
141166
142-
[Robert Lord on his blog](https://lord.io/blog/2019/text-editing-hates-you-too/)
167+
[/u/xav_19 on /r/rust](https://www.reddit.com/r/rust/comments/dxh6pg/why_is_trpl_sold_in_the_gift_shop_at_the_spy/f7r8d3k?utm_source=share&utm_medium=web2x) commenting on a post asking why "The Rust Programming Language" is sold in Washington D.C.'s spy museum's gift shop
143168

144-
Thanks to [Stephan Sokolow](https://users.rust-lang.org/t/twir-quote-of-the-week/328/727) for the suggestion!
169+
Thanks to [Matthieu M.](https://users.rust-lang.org/t/twir-quote-of-the-week/328/737) and [ZiCog](https://users.rust-lang.org/t/twir-quote-of-the-week/328/739) for the suggestion!
145170

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

0 commit comments

Comments
 (0)