|
| 1 | +Title: This Week in Rust 56 |
| 2 | +Date: 2014-11-10 |
| 3 | +Category: This Week in Rust |
| 4 | + |
| 5 | +Hello and welcome to another issue of *This Week in Rust*! |
| 6 | +[Rust](http://rust-lang.org) is a systems language pursuing the trifecta: |
| 7 | +safe, concurrent, and fast. This is a weekly summary of its progress and |
| 8 | +community. Want something mentioned? [Send me an |
| 9 | +email! ](mailto:[email protected]?subject=This%20Week%20in%20Rust%20Suggestion) |
| 10 | +Want to get involved? [We love |
| 11 | +contributions](https://github.com/mozilla/rust/wiki/Note-guide-for-new-contributors). |
| 12 | + |
| 13 | +# What's cooking on master? |
| 14 | + |
| 15 | +TODO: Update this Monday morning |
| 16 | + |
| 17 | +XXX pull requests were [merged in the last week][1]. Woo! |
| 18 | + |
| 19 | +[1]: https://github.com/rust-lang/rust/pulls?page=1&q=is%3Apr+is%3Amerged+updated%3A%3E%3D2014-11-03 |
| 20 | + |
| 21 | +## Breaking Changes |
| 22 | + |
| 23 | +TODO: Link to complete breaking changes log |
| 24 | + |
| 25 | +* [Flexible target specification][flex] has finally landed. This makes |
| 26 | + it much easier to create custom toolchains for unsupported |
| 27 | + platforms. [RFC][flex-rfc]. |
| 28 | +* [Error interoperation][err] improves the ergonomics of error |
| 29 | + handling when multiple error types are involved. [RFC][err-rfc]. |
| 30 | +* There has been a minor breaking change to the [serialization of |
| 31 | + tuples][tup]. |
| 32 | +* Minor [changes to macro interpolation][mac] have resulted the |
| 33 | + removal the `$foo:matchers` type of `macro_rules!` argument. |
| 34 | +* Socket construction is now more flexibly done through a |
| 35 | + [`ToSocketAddr`] type. |
| 36 | +* Some changes have been made to the [`BytesContainer`], which is used |
| 37 | + to construct `Path`s, causing breakage is some cases. |
| 38 | +* The comparision types have been [updated for DST][cmp], resulting in |
| 39 | + changes to how they are invoked for references to unsized types |
| 40 | + (i.e. `&str` and `&[T]`). |
| 41 | + |
| 42 | +[flex]: https://github.com/rust-lang/rust/pull/16156 |
| 43 | +[flex-rfc]: https://github.com/rust-lang/rfcs/blob/master/text/0131-target-specification.md |
| 44 | +[err]: https://github.com/rust-lang/rust/pull/17753 |
| 45 | +[err-rfc]: https://github.com/rust-lang/rfcs/blob/master/active/0070-error-chaining.md |
| 46 | +[tup]: https://github.com/rust-lang/rust/pull/17595 |
| 47 | +[mac]: https://github.com/rust-lang/rust/pull/17830 |
| 48 | +[`ToSocketAddr`]: https://github.com/rust-lang/rust/pull/18462 |
| 49 | +[`BytesContainer`]: https://github.com/rust-lang/rust/pull/18463 |
| 50 | +[cmp]: https://github.com/rust-lang/rust/pull/18467 |
| 51 | + |
| 52 | +## Other Changes |
| 53 | + |
| 54 | +* New [blanket impls] of the unboxed closure types allow them to |
| 55 | + interoperate. See |
| 56 | + [test](https://github.com/rust-lang/rust/blob/master/src/test/run-pass/unboxed-closures-fn-as-fnmut-and-fnonce.rs) |
| 57 | + [cases])https://github.com/rust-lang/rust/blob/master/src/test/run-pass/unboxed-closures-fnmut-as-fnonce.rs) |
| 58 | + for examples. |
| 59 | +* impls can now be [defined on trait objects][impltrait]. |
| 60 | +* P1start has been [converting][help] compiler messages that provide |
| 61 | + suggestions from 'notes' to 'help' messages. |
| 62 | +* The ['exceeding_bitshifts'][bitshift] lint (deny by default) catches |
| 63 | + overlong shifts (which are currently undefined behavior) of static |
| 64 | + size. |
| 65 | +* Ariel [removed][unsafe-rustc] a bunch of unsafe code from the compiler. Yay! |
| 66 | + |
| 67 | +[blanket impls]: https://github.com/rust-lang/rust/pull/18388 |
| 68 | +[impltrait]: https://github.com/rust-lang/rust/pull/18447 |
| 69 | +[help]: https://github.com/rust-lang/rust/pull/18132 |
| 70 | +[bitshift]: https://github.com/rust-lang/rust/pull/18206 |
| 71 | +[unsafe-rustc]: https://github.com/rust-lang/rust/pull/18318 |
| 72 | + |
| 73 | +## Approved RFC's |
| 74 | + |
| 75 | +## New RFC's |
| 76 | + |
| 77 | +## Community |
| 78 | + |
| 79 | +Ideas: blog posts, videos, reddit/hn/discuss threads, new projects, project updates |
| 80 | +TODO: Summarize |
| 81 | + |
| 82 | +https://www.reddit.com/r/rust/comments/2l98pn/error_interoperation_now_available_in_the/ |
| 83 | + |
| 84 | +## New Contributors |
0 commit comments