|
| 1 | +Title: This Week in Rust 244 |
| 2 | +Number: 244 |
| 3 | +Date: 2018-07-24 |
| 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 | +# Crate of the Week |
| 20 | + |
| 21 | +This week's crate is [paste](https://github.com/jkcclemens/paste), a self-hosted pastebin made of a lot of Rust and a little Ruby. Thanks to [Kyle Clemens](https://users.rust-lang.org/u/jkcclemens) for both crate and suggestion! |
| 22 | + |
| 23 | +[Submit your suggestions and votes for next week][submit_crate]! |
| 24 | + |
| 25 | +[submit_crate]: https://users.rust-lang.org/t/crate-of-the-week/2704 |
| 26 | + |
| 27 | +# Call for Participation |
| 28 | + |
| 29 | +Always wanted to contribute to open-source projects but didn't know where to start? |
| 30 | +Every week we highlight some tasks from the Rust community for you to pick and get started! |
| 31 | + |
| 32 | +Some of these tasks may also have mentors available, visit the task page for more information. |
| 33 | + |
| 34 | +* [Help port musl's libm to Rust, for math support in WASM/core/no_std code](https://mobile.twitter.com/japaricious/status/1017934106318032901). |
| 35 | +* [image-png: Unbounded memory consumption on malformed inputs](https://github.com/PistonDevelopers/image-png/issues/80). |
| 36 | +* [Get started with these beginner-friendly issues](https://www.rustaceans.org/findwork/starters). |
| 37 | + |
| 38 | +If you are a Rust project owner and are looking for contributors, please submit tasks [here][guidelines]. |
| 39 | + |
| 40 | +[guidelines]: https://users.rust-lang.org/t/twir-call-for-participation/4821 |
| 41 | + |
| 42 | +# Updates from Rust Core |
| 43 | + |
| 44 | +172 pull requests were [merged in the last week][merged] |
| 45 | + |
| 46 | +[merged]: https://github.com/search?q=is%3Apr+org%3Arust-lang+is%3Amerged+merged%3A2018-07-09..2018-07-16 |
| 47 | + |
| 48 | +* [add the `amdgpu-kernel` ABI](https://github.com/rust-lang/rust/pull/52032) |
| 49 | +* [infinite loop detection for const evaluation](https://github.com/rust-lang/rust/pull/51702) |
| 50 | +* [chalk lowering rule: WellFormed-TraitRef](https://github.com/rust-lang/rust/pull/50250) |
| 51 | +* [fix ICE when using a pointer cast as array size](https://github.com/rust-lang/rust/pull/52314) |
| 52 | +* [implement `#[alloc_error_handler]`](https://github.com/rust-lang/rust/pull/52191) |
| 53 | +* [improve error message shown for unsafe operations](https://github.com/rust-lang/rust/pull/52207) |
| 54 | +* [remove most of `PartialEq` and `Hash` impls from AST and HIR structures](https://github.com/rust-lang/rust/pull/51829) |
| 55 | +* [deny bare trait objects in the rest of rust](https://github.com/rust-lang/rust/pull/52302) |
| 56 | +* [reach the body of functions returning `impl Trait` but don't treat it as public](https://github.com/rust-lang/rust/pull/52348) |
| 57 | +* [NLL: suggest `ref mut` and `&mut self`](https://github.com/rust-lang/rust/pull/52242) |
| 58 | +* [resolve: functions introducing procedural macros reserve a slot in the macro namespace as well](https://github.com/rust-lang/rust/pull/52383) |
| 59 | +* [proc_macro: fix crate root detection](https://github.com/rust-lang/rust/pull/52328) |
| 60 | +* [correct suggestion for println](https://github.com/rust-lang/rust/pull/51614) |
| 61 | +* [do not attempt to recompile codegen backend(s) with --keep-stage](https://github.com/rust-lang/rust/pull/52360) |
| 62 | +* [openbsd fix](https://github.com/rust-lang/libc/pull/1040) |
| 63 | +* [rustc: stabilize the `proc_macro` feature](https://github.com/rust-lang/rust/pull/52081) |
| 64 | +* [ensure StorageDead is created even if variable initialization fails](https://github.com/rust-lang/rust/pull/52046) |
| 65 | +* [rustc_codegen_llvm: replace the first argument early in FnType::new_vtable](https://github.com/rust-lang/rust/pull/52089) |
| 66 | +* [change RangeInclusive to a three-field struct](https://github.com/rust-lang/rust/pull/51622) |
| 67 | +* [add ExactChunks::remainder and ExactChunks::into_remainder](https://github.com/rust-lang/rust/pull/51339) |
| 68 | +* [implement `Option::replace` in the core library](https://github.com/rust-lang/rust/pull/52003) |
| 69 | +* [add `#[repr(transparent)]` to `Atomic*` types](https://github.com/rust-lang/rust/pull/52149) |
| 70 | +* [remove sync::Once::call_once 'static bound](https://github.com/rust-lang/rust/pull/52239) |
| 71 | +* [improve Debug display for a few types](https://github.com/rust-lang/cargo/pull/5712) |
| 72 | +* [cargo: most sorts can be unstable](https://github.com/rust-lang/cargo/pull/5732) |
| 73 | +* [implement default-run option to set default binary for cargo run](https://github.com/rust-lang/cargo/pull/5710) |
| 74 | +* [rustdoc: don't panic when the cross-re-export handler sees a proc-macro](https://github.com/rust-lang/rust/pull/52361) |
| 75 | + |
| 76 | +## Approved RFCs |
| 77 | + |
| 78 | +Changes to Rust follow the Rust [RFC (request for comments) |
| 79 | +process](https://github.com/rust-lang/rfcs#rust-rfcs). These |
| 80 | +are the RFCs that were approved for implementation this week: |
| 81 | + |
| 82 | +*No RFCs were approved this week.* |
| 83 | + |
| 84 | +## Final Comment Period |
| 85 | + |
| 86 | +Every week [the team](https://www.rust-lang.org/team.html) announces the |
| 87 | +'final comment period' for RFCs and key PRs which are reaching a |
| 88 | +decision. Express your opinions now. |
| 89 | + |
| 90 | +### [RFCs](https://github.com/rust-lang/rfcs/labels/final-comment-period) |
| 91 | + |
| 92 | +* [disposition: merge] [Associated type bounds of form `MyTrait<AssociatedType: Bounds>`](https://github.com/rust-lang/rfcs/pull/2289). |
| 93 | + |
| 94 | +### [Tracking Issues & PRs](https://github.com/rust-lang/rust/labels/final-comment-period) |
| 95 | + |
| 96 | +* [disposition: merge] [resolve: Modularize crate-local `#[macro_export] macro_rules`](https://github.com/rust-lang/rust/pull/52234). |
| 97 | +* [disposition: merge] [Change behavior of `?` as a macro separator and Kleene op in 2018 edition](https://github.com/rust-lang/rust/issues/51934). |
| 98 | +* [disposition: merge] [Deprecation of `str::slice_unchecked(_mut)`](https://github.com/rust-lang/rust/pull/51807). |
| 99 | +* [disposition: merge] [Tracking issue for `ToOwned::clone_into` (`toowned_clone_into`)](https://github.com/rust-lang/rust/issues/41263). |
| 100 | +* [disposition: close] [NLL lets borrowck observe drop order for `let (a, b);`](https://github.com/rust-lang/rust/issues/51036). |
| 101 | +* [disposition: close] [adds Default impl for Instant](https://github.com/rust-lang/rust/pull/50800). |
| 102 | + |
| 103 | +## New RFCs |
| 104 | + |
| 105 | +* [if- and while-let-chains, take 2](https://github.com/rust-lang/rfcs/pull/2497). |
| 106 | +* [Pattern API](https://github.com/rust-lang/rfcs/pull/2500). |
| 107 | +* [Hygiene opt-out (escaping) for declarative macros 2.0](https://github.com/rust-lang/rfcs/pull/2498). |
| 108 | + |
| 109 | +# Upcoming Events |
| 110 | + |
| 111 | +### Online |
| 112 | + |
| 113 | +* [Jul 25. Rust Community Team Meeting in Discord](https://discordapp.com/channels/442252698964721669/443773747350994945). |
| 114 | +* [Jul 31. Rust Community Content Subteam Meeting at #rust-content on irc.mozilla.org](irc://irc.mozilla.org/rust-content). |
| 115 | +* [Aug 1. Rust Events Team Meeting in Telegram](https://t.me/joinchat/EkKINhHCgZ9llzvPidOssA). |
| 116 | +* [Aug 1. Rust Community Team Meeting in Discord](https://discordapp.com/channels/442252698964721669/443773747350994945). |
| 117 | + |
| 118 | +### Asia-Pacific |
| 119 | + |
| 120 | +* [Jul 23. Sydney, AU - Rust Sydney Meetup 14](https://www.meetup.com/Rust-Sydney/events/251749825/). |
| 121 | + |
| 122 | +### Europe |
| 123 | + |
| 124 | +* [Jul 20. Barcelona, ES - BcnRust 1st meetup with Ashley Williams & Steve Klabnik](https://www.meetup.com/BcnRust/events/251237895/). |
| 125 | +* [Jul 24. Rome, IT - Rust learning and hacking evening #10](https://www.meetup.com/Rust-Roma/events/252627092/). |
| 126 | +* [Jul 25. Wrocław, PL - Rust Wroclaw Meetup #3](https://www.meetup.com/Rust-Wroclaw/events/252190812/). |
| 127 | +* [Jul 25. Berlin, DE - OpenTechSchool - Rust Hack and Learn](https://www.meetup.com/opentechschool-berlin/events/xkdlvpyxkbhc/). |
| 128 | +* [Jul 25. Milan, IT - Rust Language Milano - Rust Exercises](https://www.meetup.com/rust-language-milano/events/252893336/). |
| 129 | +* [Aug 1. Cologne, DE - Rust Cologne](https://www.meetup.com/RustCologne/events/252432033). |
| 130 | + |
| 131 | +### North America |
| 132 | + |
| 133 | +* [Jul 22. Mountain View, US - Open Table / Icebreaker: what projects are you working on](https://www.meetup.com/Rust-Dev-in-Mountain-View/events/glnfcpyxkbdc/). |
| 134 | +* [Jun 23. Durham, US - Triangle Rustaceans - Project Night & Lightning Talks](https://www.meetup.com/triangle-rustaceans/events/mfglwpyxkbfc/). |
| 135 | +* [Jul 24. Denver, US - Rust Boulder/Denver - Rust Denver July Meetup](https://www.meetup.com/Rust-Boulder-Denver/events/252275279/). |
| 136 | +* [Jul 25. Chicago, US - Rust Meetup July 2018](https://www.meetup.com/Chicago-Rust-Meetup/events/251961097/). |
| 137 | +* [Jul 25. New York, NY US - Rust NYC Meetup](https://www.meetup.com/Rust-NYC/events/252181812/) |
| 138 | +* [Jul 25. Vancouver, CA - Rust Study/Hack/Hang-out night](https://www.meetup.com/Vancouver-Rust/events/dqldspyxkbhc/). |
| 139 | +* [Jul 29. Mountain View, US - Open Table / Icebreaker: what projects are you working on](https://www.meetup.com/Rust-Dev-in-Mountain-View/events/glnfcpyxkbmc/). |
| 140 | +* [Jul 31. Dallas, US - Last Tuesday Meetup](https://www.meetup.com/Dallas-Rust/events/zfgwzmyxkbpc/). |
| 141 | +* [Aug 1. Indianapolis, US - Indy.rs](https://www.meetup.com/indyrs/events/mffbtpyxlbcb/). |
| 142 | +* [Aug 1. Atlanta, US - Grab a beer with fellow Rustaceans](https://www.meetup.com/Rust-ATL/events/rhvgrmyxlbcb/). |
| 143 | +* **[Aug 17. Portland, US - RustConf 2018](http://rustconf.com/).** |
| 144 | + |
| 145 | +### South America |
| 146 | + |
| 147 | +* [Jul 21. São Paulo, BR - Rust at The Developers Conference - TDC2018](http://www.thedevelopersconference.com.br/tdc/2018/saopaulo/trilha-rust). |
| 148 | +* [Jul 28. Florianópolis, BR - 2º Encontro Rust Floripa](https://www.meetup.com/rustfloripa/events/xvglrpyxkbkb/). |
| 149 | + |
| 150 | +If you are running a Rust event please add it to the [calendar] to get |
| 151 | +it mentioned here. Email the [Rust Community Team][community] for access. |
| 152 | + |
| 153 | +[calendar]: https://www.google.com/calendar/embed?src=apd9vmbc22egenmtu5l6c5jbfc%40group.calendar.google.com |
| 154 | +[community]: mailto:[email protected] |
| 155 | + |
| 156 | +# Rust Jobs |
| 157 | + |
| 158 | +* [Rust Software Engineer at IOHK (Remote work available)](https://iohk.recruiterbox.com/jobs/fk0177c?source=linkedin). |
| 159 | + |
| 160 | +*Tweet us at [@ThisWeekInRust](https://twitter.com/ThisWeekInRust) to get your job offers listed here!* |
| 161 | + |
| 162 | +# Quote of the Week |
| 163 | + |
| 164 | +> References are not pointers, but temporary locks on data |
| 165 | +
|
| 166 | +– [Kornel](https://users.rust-lang.org/u/kornel) [on rust-users](https://users.rust-lang.org/t/cannot-move-out-of-borrowed-content-take-2/18700/7). |
| 167 | + |
| 168 | +Thanks to [Squirrel](https://users.rust-lang.org/u/gilescope) for the suggestion! |
| 169 | + |
| 170 | +[Please submit your quotes for next week](http://users.rust-lang.org/t/twir-quote-of-the-week/328)! |
| 171 | + |
| 172 | +*This Week in Rust is edited by: [nasa42](https://github.com/nasa42) and [llogiq](https://github.com/llogiq).* |
0 commit comments