@@ -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 [ joinery ] ( https://docs.rs/joinery ) , a library for generic string joining .
25
+ This week's crate is [ StaticVec ] ( https://github.com/slightlyoutofphase/staticvec ) , a nightly-only const-generics-backed fixed size vec crate .
26
26
27
- Thanks to [ Nathan West ] ( https://users.rust-lang.org/t/crate-of-the-week/2704/677 ) for the suggestions!
27
+ Thanks to [ ABagOfChips ] ( https://users.rust-lang.org/t/crate-of-the-week/2704/682 ) for the suggestions!
28
28
29
29
[ Submit your suggestions and votes for next week] [ submit_crate ] !
30
30
@@ -46,35 +46,49 @@ If you are a Rust project owner and are looking for contributors, please submit
46
46
47
47
# Updates from Rust Core
48
48
49
- 264 pull requests were [ merged in the last week] [ merged ]
50
-
51
- [ merged ] : https://github.com/search?q=is%3Apr+org%3Arust-lang+is%3Amerged+merged%3A2019-11-25..2019-12-02
52
-
53
- * [ stabilize nested self receivers in 1.41.0] ( https://github.com/rust-lang/rust/pull/64325 )
54
- * [ add memoization for const function evaluations] ( https://github.com/rust-lang/rust/pull/66294 )
55
- * [ add crc and crypto to target feature whitelist on arm] ( https://github.com/rust-lang/rust/pull/66918 )
56
- * [ conditional compilation for sanitizers] ( https://github.com/rust-lang/rust/pull/66245 )
57
- * [ add support for sanitizer recover and tracking origins of uninitialized memory] ( https://github.com/rust-lang/rust/pull/66522 )
58
- * [ async fn resume after completion] ( https://github.com/rust-lang/rust/pull/66321 )
59
- * [ use structured suggestion when requiring ` Copy ` constraint in type param] ( https://github.com/rust-lang/rust/pull/66567 )
60
- * [ various tweaks to diagnostic output] ( https://github.com/rust-lang/rust/pull/66754 )
61
- * [ add version mismatch help message for unimplemented trait] ( https://github.com/rust-lang/rust/pull/66561 )
62
- * [ AST address-of] ( https://github.com/rust-lang/rust/pull/66671 )
63
- * [ initial implementation of or-pattern usefulness checking] ( https://github.com/rust-lang/rust/pull/66612 )
64
- * [ polonius: illegal subset relation errors using placeholder loans] ( https://github.com/rust-lang/polonius/pull/137 )
65
- * [ fix opaque types resulting from projections in function signature] ( https://github.com/rust-lang/rust/pull/66178 )
66
- * [ simplify memory categorization] ( https://github.com/rust-lang/rust/pull/66246 )
67
- * [ remove interior mutability in mir predecessors cache] ( https://github.com/rust-lang/rust/pull/64736 )
68
- * [ rustc: move debug info from LocalDecl and UpvarDecl into a dedicated VarDebugInfo] ( https://github.com/rust-lang/rust/pull/56231 )
69
- * [ create promoted MIR fragments for ` const ` and ` static ` s] ( https://github.com/rust-lang/rust/pull/66642 )
70
- * [ alloc: add new_zeroed() versions like new_uninit()] ( https://github.com/rust-lang/rust/pull/66128 )
71
- * [ impl TrustedLen for vec::Drain] ( https://github.com/rust-lang/rust/pull/66759 )
72
- * [ atomic as_mut_ptr] ( https://github.com/rust-lang/rust/pull/66705 )
73
- * [ implement Debug for MaybeUninit] ( https://github.com/rust-lang/rust/pull/65013 )
74
- * [ libc: add support for shared memory operations for solaris/illumos] ( https://github.com/rust-lang/libc/pull/1584 )
75
- * [ cargo: stabilize profile-overrides] ( https://github.com/rust-lang/cargo/pull/7591 )
76
- * [ rustup: add toolchain install --allow-downgrade option] ( https://github.com/rust-lang/rustup/pull/2126 )
77
- * [ docs.rs: match library properly if multiple crate-types are in use] ( https://github.com/rust-lang/docs.rs/pull/499 )
49
+ 247 pull requests were [ merged in the last week] [ merged ]
50
+
51
+ [ merged ] : https://github.com/search?q=is%3Apr+org%3Arust-lang+is%3Amerged+merged%3A2019-12-02..2019-12-09
52
+
53
+ * [ implement ` #[track_caller] ` attribute] ( https://github.com/rust-lang/rust/pull/65881 ) (RFC #[ 2091] ( https://rust-lang.github.io/rfcs/2091-inline-semantic.html ) )
54
+ * [ syntax: unify macro and attribute arguments in AST] ( https://github.com/rust-lang/rust/pull/66935 )
55
+ * [ stdarch: add CRC32 detection to arm32] ( https://github.com/rust-lang/stdarch/pull/830 )
56
+ * [ fix ` TypedArena ` returning wrong pointers for recursive allocations] ( https://github.com/rust-lang/rust/pull/67003 )
57
+ * [ make ` ForeignItem ` an alias of ` Item ` ] ( https://github.com/rust-lang/rust/pull/67114 )
58
+ * [ remove boxed closures in address parser] ( https://github.com/rust-lang/rust/pull/67085 )
59
+ * [ rustc: hide HirId's fmt::Debug output from -Z span_free_formats] ( https://github.com/rust-lang/rust/pull/66850 )
60
+ * [ make ` process_obligations() ` greedier] ( https://github.com/rust-lang/rust/pull/66408 )
61
+ * [ check break target availability when checking breaks with values] ( https://github.com/rust-lang/rust/pull/66863 )
62
+ * [ include a span in more ` expected...found ` notes] ( https://github.com/rust-lang/rust/pull/67011 )
63
+ * [ do not ICE on async fn with non-Copy inferred type arg] ( https://github.com/rust-lang/rust/pull/67004 )
64
+ * [ make try_mark_previous_green aware of cycles] ( https://github.com/rust-lang/rust/pull/66846 )
65
+ * [ add feature gate for mut refs in const fn] (Add feature gate for mut refs in const fn)
66
+ * [ change unused_labels from allow to warn] ( https://github.com/rust-lang/rust/pull/66325 )
67
+ * [ show the sign for signed ops on ` exact_div ` ] ( https://github.com/rust-lang/rust/pull/66148 )
68
+ * [ chalk: convert ensure_answer_recursively to be iterative instead of recursive] ( https://github.com/rust-lang/chalk/pull/281 )
69
+ * [ handle diverging functions forwarding their return place] ( https://github.com/rust-lang/rust/pull/66827 )
70
+ * [ cleanup ` BodyCache ` ] ( https://github.com/rust-lang/rust/pull/66991 )
71
+ * [ remove hack for top-level or-patterns in match checking] ( https://github.com/rust-lang/rust/pull/66967 )
72
+ * [ const-prop: fix ICE calculating enum discriminant] ( https://github.com/rust-lang/rust/pull/66960 )
73
+ * [ miri: tweak and use ` OsStr ` interfaces] ( https://github.com/rust-lang/miri/pull/1099 )
74
+ * [ only memoize const fn calls during const eval] ( https://github.com/rust-lang/rust/pull/66866 )
75
+ * [ miri: add flag to ignore memory leaks] ( https://github.com/rust-lang/miri/pull/1106 )
76
+ * [ better way to ignore tests in miri] ( https://github.com/rust-lang/miri/pull/1105 )
77
+ * [ codegen "unreachable" for invalid ` SetDiscriminant ` ] ( https://github.com/rust-lang/rust/pull/67054 )
78
+ * [ codegen: Migrate to ` LLVM ` {` Get ` , ` Set ` }` ValueName2 ` ] ( https://github.com/rust-lang/rust/pull/67033 )
79
+ * [ update the minimum external LLVM to 7] ( https://github.com/rust-lang/rust/pull/66973 )
80
+ * [ implement illegal subset relations errors using Polonius] ( https://github.com/rust-lang/rust/pull/67016 )
81
+ * [ add ` ExitStatusExt ` into prelude] ( https://github.com/rust-lang/rust/pull/67041 )
82
+ * [ rename ` bool::then_* ` to ` bool::to_option_* ` and use where appropriate] ( https://github.com/rust-lang/rust/pull/65195 )
83
+ * [ add ` {f32,f64}::approx_unchecked_to<Int> ` unsafe methods] ( https://github.com/rust-lang/rust/pull/66841 )
84
+ * [ add test for ` NAME ` environment variable when ` cargo new ` ] ( https://github.com/rust-lang/cargo/pull/7667 )
85
+ * [ cargo: remove ` --offline ` empty index error] ( https://github.com/rust-lang/cargo/pull/7655 )
86
+ * [ cargo: add a ` --offline ` hint] ( https://github.com/rust-lang/cargo/pull/7654 )
87
+ * [ rustdoc: less minification] ( https://github.com/rust-lang/rust/pull/66828 )
88
+ * [ rustfmt: switch to non-recursive mode by default] ( https://github.com/rust-lang/rustfmt/pull/3938 )
89
+ * [ rustup: output the previous version of a toolchain when it is updated] ( https://github.com/rust-lang/rustup/pull/2143 )
90
+ * [ rustup: resolve potential future shock (x.yyy.zz)] ( https://github.com/rust-lang/rustup/pull/2132 )
91
+ * [ crates.io: add audit trail to the publish, yank and unyank transactions] ( https://github.com/rust-lang/crates.io/pull/1700 )
78
92
79
93
## Approved RFCs
80
94
@@ -136,13 +150,11 @@ Email the [Rust Community Team][community] for access.
136
150
137
151
# Quote of the Week
138
152
139
- > > Heard recently creative coding experience which rust gives. What about unconscious coding experience - do whatever you can to make your code compile as late as you can, then go sleep and find your code correct and working in the morning
140
- >
141
- > Woah, I know people say the Rust compiler is slow but I never had a Rust program that took all night to compile☺
153
+ > So, in this regard and IMO, C++ has a saner model here. And if C++ is saner than you, that's not a good sign ☺
142
154
143
- – [ Maxim Vorobjov and ZiCog in our Quote of the Week Thread ] ( https://users .rust-lang.org/t/twir-quote-of-the-week/328/749 )
155
+ – [ Boris Kolpackov on rust internals ] ( https://internals .rust-lang.org/t/crate-dependency-discovery/11418/4 )
144
156
145
- Thanks to [ both of them and mmmmib ] ( https://users.rust-lang.org/t/twir-quote-of-the-week/328/752 ) for the suggestion!
157
+ Thanks to [ UtherII ] ( https://users.rust-lang.org/t/twir-quote-of-the-week/328/753 ) for the suggestion!
146
158
147
159
[ Please submit quotes and vote for next week!] ( https://users.rust-lang.org/t/twir-quote-of-the-week/328 )
148
160
0 commit comments