Skip to content

Commit 719a465

Browse files
committed
Merge branch 'master' of github.com:cmr/this-week-in-rust
Conflicts: drafts/2017-10-24-this-week-in-rust.md
2 parents fdc00e2 + d0167b6 commit 719a465

File tree

1 file changed

+24
-37
lines changed

1 file changed

+24
-37
lines changed

drafts/2017-10-24-this-week-in-rust.md

Lines changed: 24 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ If you find any errors in this week's issue, [please submit a PR](https://github
2727

2828
# Crate of the Week
2929

30-
This week's crate is [if_chain](https://crates.io/crates/if_chain) a macro that helps combat rightwards drift where code nests many `if`s and `if let`s. Since the
31-
latter cannot be contracted with `&&`, this can be really helpful to make code more readable. Thanks to [Michael Budde](https://users.rust-lang.org/u/mbudde) for
30+
This week's crate is [colored](https://crates.io/crates/colored) a UNIX-based terminal color crate. Thanks to [Kyle Galloway](https://users.rust-lang.org/u/kylegalloway) for
3231
the suggestion.
3332

3433
[Submit your suggestions and votes for next week][submit_crate]!
@@ -76,41 +75,28 @@ If you are a Rust project owner and are looking for contributors, please submit
7675

7776
# Updates from Rust Core
7877

79-
163 pull requests were [merged in the last week][merged]
80-
81-
[merged]: https://github.com/search?q=is%3Apr+org%3Arust-lang+is%3Amerged+merged%3A2017-10-09..2017-10-16
82-
83-
* [add `x86_64-unknown-linux-gnux32` target](https://github.com/rust-lang/rust/pull/45224)
84-
* [inline `eq_slice` into `str::eq`](https://github.com/rust-lang/rust/pull/45005)
85-
* [MIR-borrowck: moves of prefixes invalidate uses too](https://github.com/rust-lang/rust/pull/45025)
86-
* [MIR borrowck: print lvalues in error messages in the same way that the AST borrowck](https://github.com/rust-lang/rust/pull/44985)
87-
* [MIR-borrowck: add false edges to match arms](https://github.com/rust-lang/rust/pull/45200)
88-
* [MIR-borrowck: migrate remaining AST diagnostics](https://github.com/rust-lang/rust/pull/45167)
89-
* [querify `trans_fulfill_obligation`](https://github.com/rust-lang/rust/pull/44967)
90-
* [querify Vtable methods](https://github.com/rust-lang/rust/pull/45137)
91-
* [check namespaces when resolving associated items in typeck](https://github.com/rust-lang/rust/pull/45297)
92-
* [rustc: Remove `used_mut_nodes` from `TyCtxt`](https://github.com/rust-lang/rust/pull/45283)
93-
* [rustc: Fix some ThinLTO internalization](https://github.com/rust-lang/rust/pull/45215)
94-
* [rustc: Update LLVM with a ThinLTO fix](https://github.com/rust-lang/rust/pull/45203)
95-
* [rustc: Handle `#[inline(always)]` at `-O0`](https://github.com/rust-lang/rust/pull/45202)
96-
* [rustc: Don't inline in CGUs at `-O0`](https://github.com/rust-lang/rust/pull/45075)
97-
* [rustc: Reduce default CGUs to 16](https://github.com/rust-lang/rust/pull/45064)
98-
* [incremental compilation auto assert (with except)](https://github.com/rust-lang/rust/pull/45104)
99-
* [incremental compilation: Bring back output of -Zincremental-info](https://github.com/rust-lang/rust/pull/45063)
100-
* [ensure `std::mem::Discriminant` is `Send + Sync`](https://github.com/rust-lang/rust/pull/45095)
101-
* [fix `TcpStream::connect_timeout` on linux](https://github.com/rust-lang/rust/pull/45269)
102-
* [improve performance of `spsc_queue` and stream](https://github.com/rust-lang/rust/pull/44963)
103-
* [improve raw `Box` conversions](https://github.com/rust-lang/rust/pull/44877)
104-
* [some hashmap cleanups](https://github.com/rust-lang/rust/pull/45263)
105-
* [optimize comparison functions of `Iterator`](https://github.com/rust-lang/rust/pull/45007)
106-
* [compiletest/runtest: format `ErrorKind` with `Display`](https://github.com/rust-lang/rust/pull/45258)
107-
* [implement display_hint in gdb pretty printers](https://github.com/rust-lang/rust/pull/45071)
108-
* [some low-hanging rustdoc optimizations](https://github.com/rust-lang/rust/pull/44613)
109-
* [rustdoc: mobile sidebar improvements](https://github.com/rust-lang/rust/pull/45240)
110-
* [let rustdoc print the crate version into docs](https://github.com/rust-lang/rust/pull/44989)
111-
* [incr.comp.: Introduce `ensure` and `ensure` typeck_tables_of](https://github.com/rust-lang/rust/pull/45228)
112-
* [enable building clippy in CI](https://github.com/rust-lang/rust/pull/45177) (one more step towards stable clippy!)
113-
* [update grammar to parse current rust syntax](https://github.com/rust-lang/rust/pull/45125) (Language lawyers rejoice!)
78+
121 pull requests were [merged in the last week][merged]
79+
80+
[merged]: https://github.com/search?q=is%3Apr+org%3Arust-lang+is%3Amerged+merged%3A2017-10-16..2017-10-23
81+
82+
* [rustbuild: Compile rustc with ThinLTO](https://github.com/rust-lang/rust/pull/45400)
83+
* [code suggestions for non-shorthand field pattern, no-mangle lints](https://github.com/rust-lang/rust/pull/45232)
84+
* [cleanly error for non-const variable in associated const](https://github.com/rust-lang/rust/pull/45442)
85+
* [remove or encapsulate the remaining non-query data in tcx](https://github.com/rust-lang/rust/pull/44501)
86+
* [make `erase_regions_ty` query anonymous](https://github.com/rust-lang/rust/pull/45364)
87+
* [bump the minimum LLVM to 3.9](https://github.com/rust-lang/rust/pull/45326)
88+
* [backport ThinLTO LLVM 5 fixes](https://github.com/rust-lang/rust/pull/45301)
89+
* [rustc: Move bytecode compression into codegen](https://github.com/rust-lang/rust/pull/45399)
90+
* [rustc: Add `_imp_` symbols later in compilation](https://github.com/rust-lang/rust/pull/45348)
91+
* [incr.comp.: Use 128bit SipHash for fingerprinting](https://github.com/rust-lang/rust/pull/45319)
92+
* [mark block exits as reachable if the block can break](https://github.com/rust-lang/rust/pull/45316)
93+
* [avoid unnecessary allocas for indirect function arguments](https://github.com/rust-lang/rust/pull/44573)
94+
* [std: Update randomness implementation on Windows](https://github.com/rust-lang/rust/pull/45370)
95+
* [fix a few bugs in drop generation](https://github.com/rust-lang/rust/pull/45359)
96+
* [introduce pthread_cancel() for terminating threads](https://github.com/rust-lang/libc/pull/810)
97+
* [fix ABI breakage in syscall constants](https://github.com/rust-lang/libc/pull/815)
98+
* [fix most rendering warnings from switching to CommonMark](https://github.com/rust-lang/rust/pull/45419)
99+
* [allow cargo install --version as well (preferred)](https://github.com/rust-lang/cargo/pull/4637)
114100

115101
## New Contributors
116102

@@ -155,6 +141,7 @@ decision. Express your opinions now. [This week's FCPs][fcp] are:
155141
* [Oct 26. Finland Rust-lang group October meetup](https://www.meetup.com/Finland-Rust-Meetup/events/243886850/).
156142
* [Oct 26. Mozilla Community Dresden - Rust meetup](https://www.meetup.com/Mozilla-Community-Dresden/events/243915635/).
157143
* [Oct 27. Rust Bangalore - Rust XML JSON and Serialization Workshop](https://www.meetup.com/rustox/events/243387629/).
144+
* [Oct 28 & 29. Get In Touch With Rust! @ MozFest London](http://mozillafestival.org/)
158145
* [Oct 30. Rust Oslo - Code generation and type providers in Rust](https://www.meetup.com/Rust-Oslo/events/244142198/).
159146
* [Oct 31. Rust Zürich - Calling Rust from C and Java - October Community Meetup](https://www.meetup.com/Rust-Zurich/events/243147356/).
160147
* [Nov 1. Boston Rust - Presentation and Hack Night](https://www.meetup.com/BostonRust/events/244260833/).

0 commit comments

Comments
 (0)