@@ -22,9 +22,9 @@ Find all #Rust2020 posts at [Read Rust](https://readrust.net/rust-2020/).
22
22
23
23
# Crate of the Week
24
24
25
- This week's crate is [ wasmtime ] ( https://github.com/bytecodealliance/wasmtime ) , a standalone JIT-style runtime for WebAssembly .
25
+ This week's crate is [ rerast ] ( https://github.com/google/rerast ) , a rule-based Rust code transformation tool .
26
26
27
- Thanks to [ Josh Triplett ] ( https://users.rust-lang.org/t/crate-of-the-week/2704/671 ) for the suggestions!
27
+ Thanks to [ Jan Riemer ] ( https://users.rust-lang.org/t/crate-of-the-week/2704/674 ) for the suggestions!
28
28
29
29
[ Submit your suggestions and votes for next week] [ submit_crate ] !
30
30
@@ -47,46 +47,43 @@ If you are a Rust project owner and are looking for contributors, please submit
47
47
48
48
# Updates from Rust Core
49
49
50
- 252 pull requests were [ merged in the last week] [ merged ]
51
-
52
- [ merged ] : https://github.com/search?q=is%3Apr+org%3Arust-lang+is%3Amerged+merged%3A2019-11-11..2019-11-18
53
-
54
- * [ add a callback that allows compiler consumers to override queries] ( https://github.com/rust-lang/rust/pull/66297 )
55
- * [ update LLVM submodule] ( https://github.com/rust-lang/rust/pull/66318 )
56
- * [ expand source_util macros with def-site context] ( https://github.com/rust-lang/rust/pull/66349 )
57
- * [ improve errors after re rebalance coherence] ( https://github.com/rust-lang/rust/pull/66253 )
58
- * [ move ` Session ` fields to ` CrateStore ` ] ( https://github.com/rust-lang/rust/pull/66334 )
59
- * [ improve non-exhaustiveness handling in usefulness checking] ( https://github.com/rust-lang/rust/pull/66330 )
60
- * [ refactor integer range handling in the usefulness algorithm] ( https://github.com/rust-lang/rust/pull/66326 )
61
- * [ remove some stack frames from ` .async ` calls] ( https://github.com/rust-lang/rust/pull/66398 )
62
- * [ avoid hashing the key twice in ` get_query() ` ] ( https://github.com/rust-lang/rust/pull/66013 )
63
- * [ don't warn labels beginning with ` _ ` on unused_labels lint] ( https://github.com/rust-lang/rust/pull/66419 )
64
- * [ only include "already existing ..." comment in gitignore on conflict] ( https://github.com/rust-lang/cargo/pull/7570 )
65
- * [ suggest borrowing when it would satisfy an unmet trait bound] ( https://github.com/rust-lang/rust/pull/65456 )
66
- * [ fully integrate derive helpers into name resolution] ( https://github.com/rust-lang/rust/pull/64694 )
67
- * [ push ` ast::{ItemKind, ImplItemKind}::OpaqueTy ` hack down into lowering] ( https://github.com/rust-lang/rust/pull/66197 )
68
- * [ add a HIR pass to check consts for ` if ` , ` loop ` , etc.] ( https://github.com/rust-lang/rust/pull/66170 )
69
- * [ fix MIR lowering evaluation order and soundness bug] ( https://github.com/rust-lang/rust/pull/65608 )
70
- * [ split ` ConstValue ` into two enums] ( https://github.com/rust-lang/rust/pull/66233 )
71
- * [ fix two OOM issues related to ` ConstProp ` ] ( https://github.com/rust-lang/rust/pull/66394 )
72
- * [ make dataflow-based const qualification the canonical one] ( https://github.com/rust-lang/rust/pull/66385 )
73
- * [ miri: use new isize_max method in FS accesses] ( https://github.com/rust-lang/miri/pull/1056 )
74
- * [ miri panic_unwind: fix hack for SEH platforms] ( https://github.com/rust-lang/rust/pull/66466 )
75
- * [ make chalk-rust-ir generic over type-family] ( https://github.com/rust-lang/chalk/pull/284 )
76
- * [ chalk: refactor fold] ( https://github.com/rust-lang/chalk/pull/283 )
77
- * [ chalk: implement ` zip_binders ` and add some ` dyn Trait ` /` impl Trait ` tests] ( https://github.com/rust-lang/chalk/pull/282 )
78
- * [ add ` Result::map_or ` ] ( https://github.com/rust-lang/rust/pull/66292 )
79
- * [ fix ` HashSet::union ` performance] ( https://github.com/rust-lang/rust/pull/66280 )
80
- * [ add raw ptr variant of ` UnsafeCell::get ` ] ( https://github.com/rust-lang/rust/pull/66248 )
81
- * [ proposal for ` BTree ` {` Map ` , ` Set ` }` :: ` {` min ` , ` max ` }] ( https://github.com/rust-lang/rust/pull/65637 )
82
- * [ make the semantics of ` Vec::truncate(_) ` consistent with slices] ( https://github.com/rust-lang/rust/pull/64432 )
83
- * [ libc: add support for making functions ` const ` ] ( https://github.com/rust-lang/libc/pull/1536 )
84
- * [ cargo: Don't panic when parsing ` /proc/stat ` ] ( https://github.com/rust-lang/cargo/pull/7580 )
85
- * [ stabilize rustdoc theme options] ( https://github.com/rust-lang/rust/pull/54733 )
86
- * [ rustup build: make clippy faster by using checking before that operation] ( https://github.com/rust-lang/rustup/pull/2122 )
87
- * [ rustup: retry downloads] ( https://github.com/rust-lang/rustup/pull/2121 )
88
- * [ rustup: fix/improve human-readable units] ( https://github.com/rust-lang/rustup/pull/2043 )
89
- * [ 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 )
50
+ 260 pull requests were [ merged in the last week] [ merged ]
51
+
52
+ [ merged ] : https://github.com/search?q=is%3Apr+org%3Arust-lang+is%3Amerged+merged%3A2019-11-18..2019-11-25
53
+
54
+ * [ stabilize ` ! ` ] ( https://github.com/rust-lang/rust/pull/65355 )
55
+ * [ stabilize ` cfg(doc) ` ] ( https://github.com/rust-lang/rust/pull/61351 )
56
+ * [ debuginfo: support for ` std::collections::Hash* ` in windows debuggers] ( https://github.com/rust-lang/rust/pull/66597 )
57
+ * [ make gdb pretty-printing more robust when printing uninitialized ` Vec ` ] ( https://github.com/rust-lang/rust/pull/66576 )
58
+ * [ generate DWARF address ranges for faster lookups] ( https://github.com/rust-lang/rust/pull/66532 )
59
+ * [ fix cycle when debug-printing opaque types] ( https://github.com/rust-lang/rust/pull/66594 )
60
+ * [ resolve: give derive helpers highest priority during resolution] ( https://github.com/rust-lang/rust/pull/66529 )
61
+ * [ remove pretty printing of specific nodes in AST] ( https://github.com/rust-lang/rust/pull/66575 )
62
+ * [ point at type in ` let ` assignment on type errors] ( https://github.com/rust-lang/rust/pull/66539 )
63
+ * [ suggest calling async closure when needed] ( https://github.com/rust-lang/rust/pull/66239 )
64
+ * [ suggest ` #[repr(C)] ` instead of ` #[repr(C, packed, ...)] ` ] ( https://github.com/rust-lang/rust/pull/66206 )
65
+ * [ add outlives suggestions for some lifetime errors] ( https://github.com/rust-lang/rust/pull/58281 )
66
+ * [ use a ` SmallVec ` for ` Candidate::match_pairs ` ] ( https://github.com/rust-lang/rust/pull/66540 )
67
+ * [ miri: add ` acos ` , ` asin ` , and ` atan ` foreign functions] ( https://github.com/rust-lang/miri/pull/1067 )
68
+ * [ mir-opt: asking ` ? ` s in a more optimized fashion] ( https://github.com/rust-lang/rust/pull/66282 )
69
+ * [ mir-opt: turn on the ` ConstProp ` pass by default] ( https://github.com/rust-lang/rust/pull/66074 )
70
+ * [ miri: support unwinding after a panic] ( https://github.com/rust-lang/miri/pull/693 )
71
+ * [ handle statics in MIR as const pointers] ( https://github.com/rust-lang/rust/pull/66587 )
72
+ * [ delay an ` is_local_ever_initialized ` call] ( https://github.com/rust-lang/rust/pull/66537 )
73
+ * [ reduce size of ` hir::Expr ` by boxing more of ` hir::InlineAsm ` ] ( https://github.com/rust-lang/rust/pull/66515 )
74
+ * [ use proc-macro to derive HashStable everywhere] ( https://github.com/rust-lang/rust/pull/66279 )
75
+ * [ remove ` compiler_builtins_lib ` feature from libstd] ( https://github.com/rust-lang/rust/pull/66538 )
76
+ * [ std::error::Chain: remove ` Copy ` ] ( https://github.com/rust-lang/rust/pull/66511 )
77
+ * [ use ` drop_in_place ` in ` array::IntoIter::drop ` ] ( https://github.com/rust-lang/rust/pull/65821 )
78
+ * [ stabilize ` Result::map_or_else ` ] ( https://github.com/rust-lang/rust/pull/66322 )
79
+ * [ libc: deprecate vfork] ( https://github.com/rust-lang/libc/pull/1574 )
80
+ * [ libc: add initial support for sparc-unknown-linux-gnu] ( https://github.com/rust-lang/libc/pull/1567 )
81
+ * [ cargo: extend documentation on security concerns of crate names in a registry] ( https://github.com/rust-lang/cargo/pull/7616 )
82
+ * [ cargo: turn the new lock file format on by default] ( https://github.com/rust-lang/cargo/pull/7579 )
83
+ * [ cargo: stabilize install-upgrade] ( https://github.com/rust-lang/cargo/pull/7560 )
84
+ * [ rustdoc: stabilize ` edition ` annotation] ( https://github.com/rust-lang/rust/pull/66238 )
85
+ * [ rustdoc: preserve whitespace inside one-backtick codeblocks] ( https://github.com/rust-lang/rust/pull/65613 )
86
+ * [ measureme: optimize FileSerializationSink by using parking_lot::Mutex and avoiding heap allocations in write_atomic] ( https://github.com/rust-lang/measureme/pull/88 )
90
87
91
88
## Approved RFCs
92
89
@@ -160,17 +157,11 @@ Email the [Rust Community Team][community] for access.
160
157
161
158
# Quote of the Week
162
159
163
- This week, we have two quotes:
160
+ > I said it before, and I'll say it again: If one views Rust as a critique on C++, one should view it as a constructive critique.
164
161
165
- > Telling a programmer there's already a library to do X is like telling a songwriter there's already a song about love.
162
+ – [ llogiq on /r/rust ] ( https://www.reddit.com/r/rust/comments/dyr8ps/rust_from_a_cc_point_of_view_viceversa/f835w7h )
166
163
167
- – [ PeteCordell on twitter] ( https://twitter.com/petecordell/status/428542622844477441 ) , as [ quoted in a recent Rust Gamedev meetup] ( https://www.youtube.com/watch?v=lpOg2nl3kr0 )
168
-
169
- > Well a Museum purpose is also memory safety, I guess.
170
-
171
- – [ /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
172
-
173
- 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!
164
+ Thanks to [ Dmitry Kashitsyn] ( https://users.rust-lang.org/t/twir-quote-of-the-week/328/741 ) for the suggestion!
174
165
175
166
[ Please submit quotes and vote for next week!] ( https://users.rust-lang.org/t/twir-quote-of-the-week/328 )
176
167
0 commit comments