Skip to content

Commit 0e1470a

Browse files
authored
Merge branch 'master' into rust-ml
2 parents 0618ca1 + 7d5b254 commit 0e1470a

File tree

1 file changed

+37
-42
lines changed

1 file changed

+37
-42
lines changed

drafts/2019-12-03-this-week-in-rust.md

Lines changed: 37 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,17 @@ If you find any errors in this week's issue, [please submit a PR](https://github
1717
## News & Blog Posts
1818

1919
[Taking ML to production with Rust: a 25x speedup](https://lpalmieri.com/posts/2019-12-01-taking-ml-to-production-with-rust-a-25x-speedup/).
20+
- [How to RiiR](http://adventures.michaelfbryan.com/posts/how-to-riir/)
2021

2122
### #Rust2020
2223

2324
Find all #Rust2020 posts at [Read Rust](https://readrust.net/rust-2020/).
2425

2526
# Crate of the Week
2627

27-
This week's crate is [rerast](https://github.com/google/rerast), a rule-based Rust code transformation tool.
28+
This week's crate is [joinery](https://docs.rs/joinery), a library for generic string joining.
2829

29-
Thanks to [Jan Riemer](https://users.rust-lang.org/t/crate-of-the-week/2704/674) for the suggestions!
30+
Thanks to [Nathan West](https://users.rust-lang.org/t/crate-of-the-week/2704/677) for the suggestions!
3031

3132
[Submit your suggestions and votes for next week][submit_crate]!
3233

@@ -50,43 +51,35 @@ If you are a Rust project owner and are looking for contributors, please submit
5051

5152
# Updates from Rust Core
5253

53-
260 pull requests were [merged in the last week][merged]
54-
55-
[merged]: https://github.com/search?q=is%3Apr+org%3Arust-lang+is%3Amerged+merged%3A2019-11-18..2019-11-25
56-
57-
* [stabilize `!`](https://github.com/rust-lang/rust/pull/65355)
58-
* [stabilize `cfg(doc)`](https://github.com/rust-lang/rust/pull/61351)
59-
* [debuginfo: support for `std::collections::Hash*` in windows debuggers](https://github.com/rust-lang/rust/pull/66597)
60-
* [make gdb pretty-printing more robust when printing uninitialized `Vec`](https://github.com/rust-lang/rust/pull/66576)
61-
* [generate DWARF address ranges for faster lookups](https://github.com/rust-lang/rust/pull/66532)
62-
* [fix cycle when debug-printing opaque types](https://github.com/rust-lang/rust/pull/66594)
63-
* [resolve: give derive helpers highest priority during resolution](https://github.com/rust-lang/rust/pull/66529)
64-
* [remove pretty printing of specific nodes in AST](https://github.com/rust-lang/rust/pull/66575)
65-
* [point at type in `let` assignment on type errors](https://github.com/rust-lang/rust/pull/66539)
66-
* [suggest calling async closure when needed](https://github.com/rust-lang/rust/pull/66239)
67-
* [suggest `#[repr(C)]` instead of `#[repr(C, packed, ...)]`](https://github.com/rust-lang/rust/pull/66206)
68-
* [add outlives suggestions for some lifetime errors](https://github.com/rust-lang/rust/pull/58281)
69-
* [use a `SmallVec` for `Candidate::match_pairs`](https://github.com/rust-lang/rust/pull/66540)
70-
* [miri: add `acos`, `asin`, and `atan` foreign functions](https://github.com/rust-lang/miri/pull/1067)
71-
* [mir-opt: asking `?`s in a more optimized fashion](https://github.com/rust-lang/rust/pull/66282)
72-
* [mir-opt: turn on the `ConstProp` pass by default](https://github.com/rust-lang/rust/pull/66074)
73-
* [miri: support unwinding after a panic](https://github.com/rust-lang/miri/pull/693)
74-
* [handle statics in MIR as const pointers](https://github.com/rust-lang/rust/pull/66587)
75-
* [delay an `is_local_ever_initialized` call](https://github.com/rust-lang/rust/pull/66537)
76-
* [reduce size of `hir::Expr` by boxing more of `hir::InlineAsm`](https://github.com/rust-lang/rust/pull/66515)
77-
* [use proc-macro to derive HashStable everywhere](https://github.com/rust-lang/rust/pull/66279)
78-
* [remove `compiler_builtins_lib` feature from libstd](https://github.com/rust-lang/rust/pull/66538)
79-
* [std::error::Chain: remove `Copy`](https://github.com/rust-lang/rust/pull/66511)
80-
* [use `drop_in_place` in `array::IntoIter::drop`](https://github.com/rust-lang/rust/pull/65821)
81-
* [stabilize `Result::map_or_else`](https://github.com/rust-lang/rust/pull/66322)
82-
* [libc: deprecate vfork](https://github.com/rust-lang/libc/pull/1574)
83-
* [libc: add initial support for sparc-unknown-linux-gnu](https://github.com/rust-lang/libc/pull/1567)
84-
* [cargo: extend documentation on security concerns of crate names in a registry](https://github.com/rust-lang/cargo/pull/7616)
85-
* [cargo: turn the new lock file format on by default](https://github.com/rust-lang/cargo/pull/7579)
86-
* [cargo: stabilize install-upgrade](https://github.com/rust-lang/cargo/pull/7560)
87-
* [rustdoc: stabilize `edition` annotation](https://github.com/rust-lang/rust/pull/66238)
88-
* [rustdoc: preserve whitespace inside one-backtick codeblocks](https://github.com/rust-lang/rust/pull/65613)
89-
* [measureme: optimize FileSerializationSink by using parking_lot::Mutex and avoiding heap allocations in write_atomic](https://github.com/rust-lang/measureme/pull/88)
54+
264 pull requests were [merged in the last week][merged]
55+
56+
[merged]: https://github.com/search?q=is%3Apr+org%3Arust-lang+is%3Amerged+merged%3A2019-11-25..2019-12-02
57+
58+
* [stabilize nested self receivers in 1.41.0](https://github.com/rust-lang/rust/pull/64325)
59+
* [add memoization for const function evaluations](https://github.com/rust-lang/rust/pull/66294)
60+
* [add crc and crypto to target feature whitelist on arm](https://github.com/rust-lang/rust/pull/66918)
61+
* [conditional compilation for sanitizers](https://github.com/rust-lang/rust/pull/66245)
62+
* [add support for sanitizer recover and tracking origins of uninitialized memory](https://github.com/rust-lang/rust/pull/66522)
63+
* [async fn resume after completion](https://github.com/rust-lang/rust/pull/66321)
64+
* [use structured suggestion when requiring `Copy` constraint in type param](https://github.com/rust-lang/rust/pull/66567)
65+
* [various tweaks to diagnostic output](https://github.com/rust-lang/rust/pull/66754)
66+
* [add version mismatch help message for unimplemented trait](https://github.com/rust-lang/rust/pull/66561)
67+
* [AST address-of](https://github.com/rust-lang/rust/pull/66671)
68+
* [initial implementation of or-pattern usefulness checking](https://github.com/rust-lang/rust/pull/66612)
69+
* [polonius: illegal subset relation errors using placeholder loans](https://github.com/rust-lang/polonius/pull/137)
70+
* [fix opaque types resulting from projections in function signature](https://github.com/rust-lang/rust/pull/66178)
71+
* [simplify memory categorization](https://github.com/rust-lang/rust/pull/66246)
72+
* [remove interior mutability in mir predecessors cache](https://github.com/rust-lang/rust/pull/64736)
73+
* [rustc: move debug info from LocalDecl and UpvarDecl into a dedicated VarDebugInfo](https://github.com/rust-lang/rust/pull/56231)
74+
* [create promoted MIR fragments for `const` and `static`s](https://github.com/rust-lang/rust/pull/66642)
75+
* [alloc: add new_zeroed() versions like new_uninit()](https://github.com/rust-lang/rust/pull/66128)
76+
* [impl TrustedLen for vec::Drain](https://github.com/rust-lang/rust/pull/66759)
77+
* [atomic as_mut_ptr](https://github.com/rust-lang/rust/pull/66705)
78+
* [implement Debug for MaybeUninit](https://github.com/rust-lang/rust/pull/65013)
79+
* [libc: add support for shared memory operations for solaris/illumos](https://github.com/rust-lang/libc/pull/1584)
80+
* [cargo: stabilize profile-overrides](https://github.com/rust-lang/cargo/pull/7591)
81+
* [rustup: add toolchain install --allow-downgrade option](https://github.com/rust-lang/rustup/pull/2126)
82+
* [docs.rs: match library properly if multiple crate-types are in use](https://github.com/rust-lang/docs.rs/pull/499)
9083

9184
## Approved RFCs
9285

@@ -168,11 +161,13 @@ Email the [Rust Community Team][community] for access.
168161

169162
# Quote of the Week
170163

171-
> 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+
> > 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
165+
>
166+
> Woah, I know people say the Rust compiler is slow but I never had a Rust program that took all night to compile☺
172167
173-
[llogiq on /r/rust](https://www.reddit.com/r/rust/comments/dyr8ps/rust_from_a_cc_point_of_view_viceversa/f835w7h)
168+
[Maxim Vorobjov and ZiCog in our Quote of the Week Thread](https://users.rust-lang.org/t/twir-quote-of-the-week/328/749)
174169

175-
Thanks to [Dmitry Kashitsyn](https://users.rust-lang.org/t/twir-quote-of-the-week/328/741) for the suggestion!
170+
Thanks to [both of them and mmmmib](https://users.rust-lang.org/t/twir-quote-of-the-week/328/752) for the suggestion!
176171

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

0 commit comments

Comments
 (0)