|
| 1 | +Title: This Week in Rust 363 |
| 2 | +Number: 363 |
| 3 | +Date: 2020-11-04 |
| 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/emberian/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/emberian/this-week-in-rust). |
| 13 | +If you find any errors in this week's issue, [please submit a PR](https://github.com/emberian/this-week-in-rust/pulls). |
| 14 | + |
| 15 | +# Updates from Rust Community |
| 16 | + |
| 17 | +### Official |
| 18 | + |
| 19 | +### Tooling |
| 20 | + |
| 21 | +### Observations/Thoughts |
| 22 | + |
| 23 | +### Learn Rust |
| 24 | + |
| 25 | +### Project Updates |
| 26 | + |
| 27 | +### Miscellaneous |
| 28 | + |
| 29 | +# Crate of the Week |
| 30 | + |
| 31 | +This week's crate is [rust-gpu](https://github.com/EmbarkStudios/rust-gpu) from Embark Studios, a system to compile Rust code into Vulkan graphics shaders (with other shader types to follow). |
| 32 | + |
| 33 | +Thanks to [Vlad Frolov](https://users.rust-lang.org/t/crate-of-the-week/2704/831) for the suggestion! |
| 34 | + |
| 35 | +[Submit your suggestions and votes for next week][submit_crate]! |
| 36 | + |
| 37 | +[submit_crate]: https://users.rust-lang.org/t/crate-of-the-week/2704 |
| 38 | + |
| 39 | +# Call for Participation |
| 40 | + |
| 41 | +Always wanted to contribute to open-source projects but didn't know where to start? |
| 42 | +Every week we highlight some tasks from the Rust community for you to pick and get started! |
| 43 | + |
| 44 | +Some of these tasks may also have mentors available, visit the task page for more information. |
| 45 | + |
| 46 | +If you are a Rust project owner and are looking for contributors, please submit tasks [here][guidelines]. |
| 47 | + |
| 48 | +[guidelines]: https://users.rust-lang.org/t/twir-call-for-participation/4821 |
| 49 | + |
| 50 | +# Updates from Rust Core |
| 51 | + |
| 52 | +400 pull requests were [merged in the last week][merged] |
| 53 | + |
| 54 | +[merged]: https://github.com/search?q=is%3Apr+org%3Arust-lang+is%3Amerged+merged%3A2020-10-19..2020-10-26 |
| 55 | + |
| 56 | +* [tweak `if let` suggestion to be more liberal with suggestion and to not ICE](https://github.com/rust-lang/rust/pull/77283) |
| 57 | +* [reduce diagram mess in 'match arms have incompatible types' error](https://github.com/rust-lang/rust/pull/78255) |
| 58 | +* [tweak match arm semicolon removal suggestion to account for futures](https://github.com/rust-lang/rust/pull/78214) |
| 59 | +* [explain where the closure return type was inferred](https://github.com/rust-lang/rust/pull/78235) |
| 60 | +* [rewrite `collect_tokens` implementations to use a flattened buffer](https://github.com/rust-lang/rust/pull/77250) |
| 61 | +* [fix trait solving ICEs](https://github.com/rust-lang/rust/pull/77720) |
| 62 | +* [stop promoting union field accesses in 'const'](https://github.com/rust-lang/rust/pull/77526) |
| 63 | +* [ensure that statics are inhabited](https://github.com/rust-lang/rust/pull/78324) |
| 64 | +* [rustc_mir: track inlined callees in `SourceScopeData`](https://github.com/rust-lang/rust/pull/68965) |
| 65 | +* [optimize const value interning for ZST types](https://github.com/rust-lang/rust/pull/78061) |
| 66 | +* [calculate visibilities once in resolve](https://github.com/rust-lang/rust/pull/78077) |
| 67 | +* [mir-opt: disable MatchBranchSimplification](https://github.com/rust-lang/rust/pull/78151) |
| 68 | +* [implement `TryFrom` between `NonZero` types](https://github.com/rust-lang/rust/pull/77339) |
| 69 | +* [add `Pin::static_ref`, `static_mut`](https://github.com/rust-lang/rust/pull/77726) |
| 70 | +* [support custom allocators in `Box`](https://github.com/rust-lang/rust/pull/77187) |
| 71 | +* [hashbrown: parametrize RawTable, HashSet and HashMap over an allocator](https://github.com/rust-lang/hashbrown/pull/133) |
| 72 | +* [rustdoc: greatly improve display for small mobile devices screens](https://github.com/rust-lang/rust/pull/78084) |
| 73 | +* [clippy: add linter for a single element for loop](https://github.com/rust-lang/rust-clippy/pull/6109) |
| 74 | +* [clippy: add lint for `&mut Mutex::lock`](https://github.com/rust-lang/rust-clippy/pull/6103) |
| 75 | +* [clippy: add new lint for undropped `ManuallyDrop` values](https://github.com/rust-lang/rust-clippy/pull/6181) |
| 76 | +* [clippy: lint unnecessary int-to-int and float-to-float casts](https://github.com/rust-lang/rust-clippy/pull/6187) |
| 77 | + |
| 78 | +## Rust Compiler Performance Triage |
| 79 | + |
| 80 | +* [2020-10-27](https://github.com/rust-lang/rustc-perf/blob/master/triage/2020-10-27.md): |
| 81 | +0 Regressions, 2 Improvements, 3 Mixed |
| 82 | + |
| 83 | +See the [full report](https://github.com/rust-lang/rustc-perf/blob/master/triage/2020-10-27.md) for more. |
| 84 | + |
| 85 | +## Approved RFCs |
| 86 | + |
| 87 | +Changes to Rust follow the Rust [RFC (request for comments) process](https://github.com/rust-lang/rfcs#rust-rfcs). These |
| 88 | +are the RFCs that were approved for implementation this week: |
| 89 | + |
| 90 | +* [Destructuring assignment](https://github.com/rust-lang/rfcs/pull/2909) |
| 91 | +* [RFC: Reading into uninitialized buffers](https://github.com/rust-lang/rfcs/pull/2930) |
| 92 | +* [RFC: Promote aarch64-unknown-linux-gnu to a Tier-1 Rust target](https://github.com/rust-lang/rfcs/pull/2959) |
| 93 | + |
| 94 | +## Final Comment Period |
| 95 | + |
| 96 | +Every week [the team](https://www.rust-lang.org/team.html) announces the |
| 97 | +'final comment period' for RFCs and key PRs which are reaching a |
| 98 | +decision. Express your opinions now. |
| 99 | + |
| 100 | +### [RFCs](https://github.com/rust-lang/rfcs/labels/final-comment-period) |
| 101 | +* [YieldSafe auto trait](https://github.com/rust-lang/rfcs/pull/2890) |
| 102 | +* [Variadic tuples](https://github.com/rust-lang/rfcs/pull/2775) |
| 103 | +* [RFC for a match based surface syntax to get pointer-to-field](https://github.com/rust-lang/rfcs/pull/2666) |
| 104 | + |
| 105 | +### [Tracking Issues & PRs](https://github.com/rust-lang/rust/labels/final-comment-period) |
| 106 | +* [disposition: merge] [Allow making `RUSTC_BOOTSTRAP` conditional on the crate name](https://github.com/rust-lang/rust/pull/77802) |
| 107 | +* [disposition: merge] [consider assignments of union field of ManuallyDrop type safe](https://github.com/rust-lang/rust/pull/78068) |
| 108 | +* [disposition: merge] [Define `fs::hard_link` to not follow symlinks.](https://github.com/rust-lang/rust/pull/78026) |
| 109 | +* [disposition: merge] [repr(transparent) on generic type skips "exactly one non-zero-sized field" check](https://github.com/rust-lang/rust/issues/77841) |
| 110 | +* [disposition: merge] [Rename/Deprecate LayoutErr in favor of LayoutError](https://github.com/rust-lang/rust/pull/77691) |
| 111 | +* [disposition: merge] [Tracking Issue for raw_ref_macros](https://github.com/rust-lang/rust/issues/73394) |
| 112 | + |
| 113 | +## New RFCs |
| 114 | +* [RFC: Plan to make core and std's panic identical.](https://github.com/rust-lang/rfcs/pull/3007) |
| 115 | + |
| 116 | +# Upcoming Events |
| 117 | + |
| 118 | +### Online |
| 119 | +* [October 29. Berlin, DE - Rust Hack and Learn - Berline.rs](https://www.meetup.com/opentechschool-berlin/events/txcprrybcnbmc/) |
| 120 | +* [November 4. Johannesburg, ZA - Monthly Joburg Rust Chat! - Johannesburg Rust Meetup](https://www.meetup.com/Johannesburg-Rust-Meetup/events/274142374/) |
| 121 | +* [November 4. Dublin, IE - Rust Dublin November - Rust Dublin](https://www.meetup.com/Rust-Dublin/events/274202454/) |
| 122 | +* [November 4. Indianapolis, IN, US - Indy.rs - with Social Distancing - Indy.rs](https://www.meetup.com/indyrs/events/jhfstrybcpbgb/) |
| 123 | +* [November 7 & 8, Global, RustFest Global](https://rustfest.global/) |
| 124 | +* [November 10, Seattle, WA, US - Seattle Rust Meetup](https://www.meetup.com/Seattle-Rust-Meetup/events/gskksrybcpbnb/) |
| 125 | + |
| 126 | +## Asia Pacific |
| 127 | +* [November 1. Auckland, NZ - Rust meetup - Introduction to Rust - Rust AKL](https://www.meetup.com/rust-akl/events/266876718/) |
| 128 | + |
| 129 | +If you are running a Rust event please add it to the [calendar] to get |
| 130 | +it mentioned here. Please remember to add a link to the event too. |
| 131 | +Email the [Rust Community Team][community] for access. |
| 132 | + |
| 133 | +[calendar]: https://www.google.com/calendar/embed?src=apd9vmbc22egenmtu5l6c5jbfc%40group.calendar.google.com |
| 134 | +[community]: mailto:[email protected] |
| 135 | + |
| 136 | +# Rust Jobs |
| 137 | + |
| 138 | +*Tweet us at [@ThisWeekInRust](https://twitter.com/ThisWeekInRust) to get your job offers listed here!* |
| 139 | + |
| 140 | +# Quote of the Week |
| 141 | + |
| 142 | +> what many devs often miss initially when talking about Rust is that it isn't just about the design & details of the language (which is great), Rust's super power is that in combination with its fantastic community & ecosystem, and the amazing friendly people that create & form it |
| 143 | +
|
| 144 | +– [Johann Andersson on twitter](https://mobile.twitter.com/repi) |
| 145 | + |
| 146 | +llogiq is pretty pleased with his own suggestion and unanimously voted for it. |
| 147 | + |
| 148 | +[Please submit quotes and vote for next week!](https://users.rust-lang.org/t/twir-quote-of-the-week/328) |
| 149 | + |
| 150 | +*This Week in Rust is edited by: [nellshamrell](https://github.com/nellshamrell), [llogiq](https://github.com/llogiq), and [cdmistman](https://github.com/cdmistman).* |
| 151 | + |
| 152 | +<small>[Discuss on r/rust](https://www.reddit.com/r/rust/comments/jk35ha/this_week_in_rust_362/)</small> |
0 commit comments