Skip to content

Commit 52f9c7b

Browse files
committed
draft 315
1 parent bb18181 commit 52f9c7b

File tree

1 file changed

+179
-0
lines changed

1 file changed

+179
-0
lines changed
Lines changed: 179 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,179 @@
1+
Title: This Week in Rust 315
2+
Number: 315
3+
Date: 2019-12-03
4+
Category: This Week in Rust
5+
6+
Hello and welcome to another issue of *This Week in Rust*!
7+
[Rust](http://rust-lang.org) is a systems language pursuing the trifecta: safety, concurrency, and speed.
8+
This is a weekly summary of its progress and community.
9+
Want something mentioned? Tweet us at [@ThisWeekInRust](https://twitter.com/ThisWeekInRust) or [send us a pull request](https://github.com/cmr/this-week-in-rust).
10+
Want to get involved? [We love contributions](https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md).
11+
12+
*This Week in Rust* is openly developed [on GitHub](https://github.com/cmr/this-week-in-rust).
13+
If you find any errors in this week's issue, [please submit a PR](https://github.com/cmr/this-week-in-rust/pulls).
14+
15+
# Updates from Rust Community
16+
17+
## News & Blog Posts
18+
19+
### #Rust2020
20+
21+
Find all #Rust2020 posts at [Read Rust](https://readrust.net/rust-2020/).
22+
23+
# Crate of the Week
24+
25+
This week's crate is [rerast](https://github.com/google/rerast), a rule-based Rust code transformation tool.
26+
27+
Thanks to [Jan Riemer](https://users.rust-lang.org/t/crate-of-the-week/2704/674) for the suggestions!
28+
29+
[Submit your suggestions and votes for next week][submit_crate]!
30+
31+
[submit_crate]: https://users.rust-lang.org/t/crate-of-the-week/2704
32+
33+
# Call for Participation
34+
35+
Always wanted to contribute to open-source projects but didn't know where to start?
36+
Every week we highlight some tasks from the Rust community for you to pick and get started!
37+
38+
Some of these tasks may also have mentors available, visit the task page for more information.
39+
40+
* [seeking input] [Time v0.2 pre-release feedback](https://github.com/time-rs/time/issues/190).
41+
* [good first issue] [what: Shared os behaviour](https://github.com/imsnif/what/issues/17).
42+
* [what: Listen on all interfaces](https://github.com/imsnif/what/issues/16).
43+
* [crates.io: carols10cents will be mentoring multiple issues for the month of November & December](https://github.com/rust-lang/crates.io/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3AE-mentor).
44+
45+
If you are a Rust project owner and are looking for contributors, please submit tasks [here][guidelines].
46+
47+
[guidelines]: https://users.rust-lang.org/t/twir-call-for-participation/4821
48+
49+
# Updates from Rust Core
50+
51+
260 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-18..2019-11-25
54+
55+
* [stabilize `!`](https://github.com/rust-lang/rust/pull/65355)
56+
* [stabilize `cfg(doc)`](https://github.com/rust-lang/rust/pull/61351)
57+
* [debuginfo: support for `std::collections::Hash*` in windows debuggers](https://github.com/rust-lang/rust/pull/66597)
58+
* [make gdb pretty-printing more robust when printing uninitialized `Vec`](https://github.com/rust-lang/rust/pull/66576)
59+
* [generate DWARF address ranges for faster lookups](https://github.com/rust-lang/rust/pull/66532)
60+
* [fix cycle when debug-printing opaque types](https://github.com/rust-lang/rust/pull/66594)
61+
* [resolve: give derive helpers highest priority during resolution](https://github.com/rust-lang/rust/pull/66529)
62+
* [remove pretty printing of specific nodes in AST](https://github.com/rust-lang/rust/pull/66575)
63+
* [point at type in `let` assignment on type errors](https://github.com/rust-lang/rust/pull/66539)
64+
* [suggest calling async closure when needed](https://github.com/rust-lang/rust/pull/66239)
65+
* [suggest `#[repr(C)]` instead of `#[repr(C, packed, ...)]`](https://github.com/rust-lang/rust/pull/66206)
66+
* [add outlives suggestions for some lifetime errors](https://github.com/rust-lang/rust/pull/58281)
67+
* [use a `SmallVec` for `Candidate::match_pairs`](https://github.com/rust-lang/rust/pull/66540)
68+
* [miri: add `acos`, `asin`, and `atan` foreign functions](https://github.com/rust-lang/miri/pull/1067)
69+
* [mir-opt: asking `?`s in a more optimized fashion](https://github.com/rust-lang/rust/pull/66282)
70+
* [mir-opt: turn on the `ConstProp` pass by default](https://github.com/rust-lang/rust/pull/66074)
71+
* [miri: support unwinding after a panic](https://github.com/rust-lang/miri/pull/693)
72+
* [handle statics in MIR as const pointers](https://github.com/rust-lang/rust/pull/66587)
73+
* [delay an `is_local_ever_initialized` call](https://github.com/rust-lang/rust/pull/66537)
74+
* [reduce size of `hir::Expr` by boxing more of `hir::InlineAsm`](https://github.com/rust-lang/rust/pull/66515)
75+
* [use proc-macro to derive HashStable everywhere](https://github.com/rust-lang/rust/pull/66279)
76+
* [remove `compiler_builtins_lib` feature from libstd](https://github.com/rust-lang/rust/pull/66538)
77+
* [std::error::Chain: remove `Copy`](https://github.com/rust-lang/rust/pull/66511)
78+
* [use `drop_in_place` in `array::IntoIter::drop`](https://github.com/rust-lang/rust/pull/65821)
79+
* [stabilize `Result::map_or_else`](https://github.com/rust-lang/rust/pull/66322)
80+
* [libc: deprecate vfork](https://github.com/rust-lang/libc/pull/1574)
81+
* [libc: add initial support for sparc-unknown-linux-gnu](https://github.com/rust-lang/libc/pull/1567)
82+
* [cargo: extend documentation on security concerns of crate names in a registry](https://github.com/rust-lang/cargo/pull/7616)
83+
* [cargo: turn the new lock file format on by default](https://github.com/rust-lang/cargo/pull/7579)
84+
* [cargo: stabilize install-upgrade](https://github.com/rust-lang/cargo/pull/7560)
85+
* [rustdoc: stabilize `edition` annotation](https://github.com/rust-lang/rust/pull/66238)
86+
* [rustdoc: preserve whitespace inside one-backtick codeblocks](https://github.com/rust-lang/rust/pull/65613)
87+
* [measureme: optimize FileSerializationSink by using parking_lot::Mutex and avoiding heap allocations in write_atomic](https://github.com/rust-lang/measureme/pull/88)
88+
89+
## Approved RFCs
90+
91+
Changes to Rust follow the Rust [RFC (request for comments)
92+
process](https://github.com/rust-lang/rfcs#rust-rfcs). These
93+
are the RFCs that were approved for implementation this week:
94+
95+
*No RFCs were approved this week.*
96+
97+
## Final Comment Period
98+
99+
Every week [the team](https://www.rust-lang.org/team.html) announces the
100+
'final comment period' for RFCs and key PRs which are reaching a
101+
decision. Express your opinions now.
102+
103+
### [RFCs](https://github.com/rust-lang/rfcs/labels/final-comment-period)
104+
105+
*No RFCs are currently in final comment period.*
106+
107+
### [Tracking Issues & PRs](https://github.com/rust-lang/rust/labels/final-comment-period)
108+
109+
* [disposition: merge] [Stabilize `std::{rc,sync}::Weak::{weak_count, strong_count}`](https://github.com/rust-lang/rust/pull/65778).
110+
* [disposition: merge] [Tracking issue for extra floating-point logarithm constants](https://github.com/rust-lang/rust/issues/50540).
111+
* [disposition: merge] [Implement Debug for MaybeUninit](https://github.com/rust-lang/rust/pull/65013).
112+
* [disposition: close] [Fixes soundness bug 18510 by aborting on unwind from safe extern "C" functions only](https://github.com/rust-lang/rust/pull/64315).
113+
114+
## New RFCs
115+
116+
* [Box error alias](https://github.com/rust-lang/rfcs/pull/2820).
117+
118+
# Upcoming Events
119+
120+
### Online
121+
122+
* [Dec 1. "Advent of Code" livestream in German](https://github.com/scy/advent-of-code).
123+
124+
### Africa
125+
126+
* [Dec 4. Johannesburg, ZA - Johannesburg Rust Meetup - Time for Some Highbrow FP in Rust](https://www.meetup.com/Johannesburg-Rust-Meetup/events/cpdtkryzqbgb/).
127+
128+
### Asia Pacific
129+
130+
* [Dec 2. Auckland, NZ - Rust AKL - Introduction to Rust (part 3)](https://www.meetup.com/rust-akl/events/259481456/).
131+
132+
### Europe
133+
134+
* [Nov 26+28, Rome, Italy - Weekly Rust course at "La Sapienza" University: 2nd lesson](https://lugsapienza.altervista.org/corsorust-nov2019).
135+
* [Nov 27. Copenhagen, DK - Copenhagen Rust Hack Night #20](https://cph.rs/).
136+
* [Nov 30. Kharkiv, UA - Peer Lab Kharkiv #Rust: Algorithmic problems solving](https://www.facebook.com/events/571415073420154/).
137+
* [Dec 2. Karlsruhe, DE - Rust Hack & Learn Karlsruhe - Rust Meet-up](https://www.meetup.com/Rust-Hack-Learn-Karlsruhe/events/266554688/).
138+
* [Dec 4. Wroclaw, PL - Rust Wroclaw Meetup #15](https://www.meetup.com/Rust-Wroclaw/events/266756721/).
139+
* [Dec 4. Cologne, DE - Rust Cologne - Advent of .await](https://www.meetup.com/RustCologne/events/tnrnbryzqbgb/).
140+
* [Dec 11. Berlin, DE - OpenTechSchool Berlin - Rust Hack and Learn](https://www.meetup.com/opentechschool-berlin/events/nxdpgryzqbpb/).
141+
* [Dec 12. Kyiv, UA - Rails Reactor - Rust Ukraine Meetup](https://www.facebook.com/events/1173477969528421/).
142+
* [Dec 12. Turin, IT - Mozilla Torino - Gruppo di studio Rust](https://www.meetup.com/Mozilla-Torino/events/266750624).
143+
144+
### North America
145+
146+
* [Dec 3. San Francisco, CA, US - Rust Bay Area - [@ Cloudflare] Declarative UIs in Rust and Real-world production CLIs](https://www.meetup.com/Rust-Bay-Area/events/266571982).
147+
* [Dec 4. Indianapolis, IN, US - Indy.rs](https://www.meetup.com/indyrs/events/mffbtpyzqbgb/).
148+
* [Dec 4. Portland, OR, US - PDXRust - macros_rule!](https://www.meetup.com/PDXRust/events/264733991/).
149+
* [Dec 10. Seattle, WA, US - Seattle Rust Meetup - Monthly meetup](https://www.meetup.com/Seattle-Rust-Meetup/events/prbtdryzqbnb/).
150+
* [Dec 11. Mesa, AZ, US - Desert Rust - Rust: Crates and Organization](https://www.meetup.com/Desert-Rustaceans/events/wmmphryzpbkc/).
151+
* [Dec 11. Vancouver, BC, CA - Vancouver Rust meetup](https://www.meetup.com/Vancouver-Rust/events/rwcpfryzqbpb/).
152+
* [Dec 12. San Diego, CA, US - San Diego Rust December Meetup](https://www.meetup.com/San-Diego-Rust/events/266502136/).
153+
* [Dec 12. Columbus, OH, US - Columbus Rust Society - Monthly Meeting](https://www.meetup.com/columbus-rs/events/dpkhgryzqbqb/).
154+
* [Dec 12. Lehi, UT, US - Utah Rust - December 2019 Regular Meetup](https://www.meetup.com/utah-rust/events/265905262/).
155+
156+
If you are running a Rust event please add it to the [calendar] to get
157+
it mentioned here. Please remember to add a link to the event too.
158+
Email the [Rust Community Team][community] for access.
159+
160+
[calendar]: https://www.google.com/calendar/embed?src=apd9vmbc22egenmtu5l6c5jbfc%40group.calendar.google.com
161+
[community]: mailto:community-team@rust-lang.org
162+
163+
# Rust Jobs
164+
165+
*Tweet us at [@ThisWeekInRust](https://twitter.com/ThisWeekInRust) to get your job offers listed here!*
166+
167+
# Quote of the Week
168+
169+
> 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.
170+
171+
[llogiq on /r/rust](https://www.reddit.com/r/rust/comments/dyr8ps/rust_from_a_cc_point_of_view_viceversa/f835w7h)
172+
173+
Thanks to [Dmitry Kashitsyn](https://users.rust-lang.org/t/twir-quote-of-the-week/328/741) for the suggestion!
174+
175+
[Please submit quotes and vote for next week!](https://users.rust-lang.org/t/twir-quote-of-the-week/328)
176+
177+
*This Week in Rust is edited by: [nasa42](https://github.com/nasa42), [llogiq](https://github.com/llogiq), and [Flavsditz](https://github.com/Flavsditz).*
178+
179+
<small>[Discuss on r/rust]().</small>

0 commit comments

Comments
 (0)