]> git.lizzy.rs Git - rust.git/blob - RELEASES.md
Rollup merge of #39184 - michaelwoerister:no-trans-items-for-meta-crates, r=eddyb
[rust.git] / RELEASES.md
1 Version 1.15.0 (2017-02-02)
2 ===========================
3
4 Language
5 --------
6
7 * Basic procedural macros allowing custom `#[derive]`, aka "macros 1.1", are
8   stable. This allows popular code-generating crates like Serde and Diesel to
9   work ergonomically. [RFC 1681].
10 * [Tuple structs may be empty. Unary and empty tuple structs may be instantiated
11   with curly braces][36868]. Part of [RFC 1506].
12 * [A number of minor changes to name resolution have been activated][37127].
13   They add up to more consistent semantics, allowing for future evolution of
14   Rust macros. Specified in [RFC 1560], see its section on ["changes"] for
15   details of what is different. The breaking changes here have been transitioned
16   through the [`legacy_imports`] lint since 1.14, with no known regressions.
17 * [In `macro_rules`, `path` fragments can now be parsed as type parameter
18   bounds][38279]
19 * [`?Sized` can be used in `where` clauses][37791]
20 * [There is now a limit on the size of monomorphized types and it can be
21   modified with the `#![type_size_limit]` crate attribute, similarly to
22   the `#![recursion_limit]` attribute][37789]
23
24 Compiler
25 --------
26
27 * [On Windows, the compiler will apply dllimport attributes when linking to
28   extern functions][37973]. Additional attributes and flags can control which
29   library kind is linked and its name. [RFC 1717].
30 * [Rust-ABI symbols are no longer exported from cdylibs][38117]
31 * [The `--test` flag works with procedural macro crates][38107]
32 * [Fix `extern "aapcs" fn` ABI][37814]
33 * [The `-C no-stack-check` flag is deprecated][37636]. It does nothing.
34 * [The `format!` expander recognizes incorrect `printf` and shell-style
35   formatting directives and suggests the correct format][37613].
36 * [Only report one error for all unused imports in an import list][37456]
37
38 Compiler Performance
39 --------------------
40
41 * [Avoid unnecessary `mk_ty` calls in `Ty::super_fold_with`][37705]
42 * [Avoid more unnecessary `mk_ty` calls in `Ty::super_fold_with`][37979]
43 * [Don't clone in `UnificationTable::probe`][37848]
44 * [Remove `scope_auxiliary` to cut RSS by 10%][37764]
45 * [Use small vectors in type walker][37760]
46 * [Macro expansion performance was improved][37701]
47 * [Change `HirVec<P<T>>` to `HirVec<T>` in `hir::Expr`][37642]
48 * [Replace FNV with a faster hash function][37229]
49
50 Stabilized APIs
51 ---------------
52
53 * [`std::iter::Iterator::min_by`]
54 * [`std::iter::Iterator::max_by`]
55 * [`std::os::*::fs::FileExt`]
56 * [`std::sync::atomic::Atomic*::get_mut`]
57 * [`std::sync::atomic::Atomic*::into_inner`]
58 * [`std::vec::IntoIter::as_slice`]
59 * [`std::vec::IntoIter::as_mut_slice`]
60 * [`std::sync::mpsc::Receiver::try_iter`]
61 * [`std::os::unix::process::CommandExt::before_exec`]
62 * [`std::rc::Rc::strong_count`]
63 * [`std::rc::Rc::weak_count`]
64 * [`std::sync::Arc::strong_count`]
65 * [`std::sync::Arc::weak_count`]
66 * [`std::char::encode_utf8`]
67 * [`std::char::encode_utf16`]
68 * [`std::cell::Ref::clone`]
69 * [`std::io::Take::into_inner`]
70
71 Libraries
72 ---------
73
74 * [The standard sorting algorithm has been rewritten for dramatic performance
75   improvements][38192]. It is a hybrid merge sort, drawing influences from
76   Timsort. Previously it was a naive merge sort.
77 * [`Iterator::nth` no longer has a `Sized` bound][38134]
78 * [`Extend<&T>` is specialized for `Vec` where `T: Copy`][38182] to improve
79   performance.
80 * [`chars().count()` is much faster][37888] and so are [`chars().last()`
81   and `char_indices().last()`][37882]
82 * [Fix ARM Objective-C ABI in `std::env::args`][38146]
83 * [Chinese characters display correctly in `fmt::Debug`][37855]
84 * [Derive `Default` for `Duration`][37699]
85 * [Support creation of anonymous pipes on WinXP/2k][37677]
86 * [`mpsc::RecvTimeoutError` implements `Error`][37527]
87 * [Don't pass overlapped handles to processes][38835]
88
89 Cargo
90 -----
91
92 * [In this release, Cargo build scripts no longer have access to the `OUT_DIR`
93   environment variable at build time via `env!("OUT_DIR")`][cargo/3368]. They
94   should instead check the variable at runtime with `std::env`. That the value
95   was set at build time was a bug, and incorrect when cross-compiling. This
96   change is known to cause breakage.
97 * [Add `--all` flag to `cargo test`][cargo/3221]
98 * [Compile statically against the MSVC CRT][cargo/3363]
99 * [Mix feature flags into fingerprint/metadata shorthash][cargo/3102]
100 * [Link OpenSSL statically on OSX][cargo/3311]
101 * [Apply new fingerprinting to build dir outputs][cargo/3310]
102 * [Test for bad path overrides with summaries][cargo/3336]
103 * [Require `cargo install --vers` to take a semver version][cargo/3338]
104 * [Fix retrying crate downloads for network errors][cargo/3348]
105 * [Implement string lookup for `build.rustflags` config key][cargo/3356]
106 * [Emit more info on --message-format=json][cargo/3319]
107 * [Assume `build.rs` in the same directory as `Cargo.toml` is a build script][cargo/3361]
108 * [Don't ignore errors in workspace manifest][cargo/3409]
109 * [Fix `--message-format JSON` when rustc emits non-JSON warnings][cargo/3410]
110
111 Tooling
112 -------
113
114 * [Test runners (binaries built with `--test`) now support a `--list` argument
115   that lists the tests it contains][38185]
116 * [Test runners now support a `--exact` argument that makes the test filter
117   match exactly, instead of matching only a substring of the test name][38181]
118 * [rustdoc supports a `--playground-url` flag][37763]
119 * [rustdoc provides more details about `#[should_panic]` errors][37749]
120
121 Misc
122 ----
123
124 * [The Rust build system is now written in Rust][37817]. The Makefiles may
125   continue to be used in this release by passing `--disable-rustbuild` to the
126   configure script, but they will be deleted soon. Note that the new build
127   system uses a different on-disk layout that will likely affect any scripts
128   building Rust.
129 * [Rust supports i686-unknown-openbsd][38086]. Tier 3 support. No testing or
130   releases.
131 * [Rust supports the MSP430][37627]. Tier 3 support. No testing or releases.
132 * [Rust supports the ARMv5TE architecture][37615]. Tier 3 support. No testing or
133   releases.
134
135 Compatibility Notes
136 -------------------
137
138 * [A number of minor changes to name resolution have been activated][37127].
139   They add up to more consistent semantics, allowing for future evolution of
140   Rust macros. Specified in [RFC 1560], see its section on ["changes"] for
141   details of what is different. The breaking changes here have been transitioned
142   through the [`legacy_imports`] lint since 1.14, with no known regressions.
143 * [In this release, Cargo build scripts no longer have access to the `OUT_DIR`
144   environment variable at build time via `env!("OUT_DIR")`][cargo/3368]. They
145   should instead check the variable at runtime with `std::env`. That the value
146   was set at build time was a bug, and incorrect when cross-compiling. This
147   change is known to cause breakage.
148 * [Higher-ranked lifetimes are no longer allowed to appear _only_ in associated
149   types][33685]. The [`hr_lifetime_in_assoc_type` lint] has been a warning since
150   1.10 and is now an error by default. It will become a hard error in the near
151   future.
152 * [The semantics relating modules to file system directories are changing in
153   minor ways][37602]. This is captured in the new `legacy_directory_ownership`
154   lint, which is a warning in this release, and will become a hard error in the
155   future.
156 * [Rust-ABI symbols are no longer exported from cdylibs][38117]
157 * [Once `Peekable` peeks a `None` it will return that `None` without re-querying
158   the underlying iterator][37834]
159
160 ["changes"]: https://github.com/rust-lang/rfcs/blob/master/text/1560-name-resolution.md#changes-to-name-resolution-rules
161 [33685]: https://github.com/rust-lang/rust/issues/33685
162 [36868]: https://github.com/rust-lang/rust/pull/36868
163 [37127]: https://github.com/rust-lang/rust/pull/37127
164 [37229]: https://github.com/rust-lang/rust/pull/37229
165 [37456]: https://github.com/rust-lang/rust/pull/37456
166 [37527]: https://github.com/rust-lang/rust/pull/37527
167 [37602]: https://github.com/rust-lang/rust/pull/37602
168 [37613]: https://github.com/rust-lang/rust/pull/37613
169 [37615]: https://github.com/rust-lang/rust/pull/37615
170 [37636]: https://github.com/rust-lang/rust/pull/37636
171 [37642]: https://github.com/rust-lang/rust/pull/37642
172 [37677]: https://github.com/rust-lang/rust/pull/37677
173 [37699]: https://github.com/rust-lang/rust/pull/37699
174 [37701]: https://github.com/rust-lang/rust/pull/37701
175 [37705]: https://github.com/rust-lang/rust/pull/37705
176 [37749]: https://github.com/rust-lang/rust/pull/37749
177 [37760]: https://github.com/rust-lang/rust/pull/37760
178 [37763]: https://github.com/rust-lang/rust/pull/37763
179 [37764]: https://github.com/rust-lang/rust/pull/37764
180 [37789]: https://github.com/rust-lang/rust/pull/37789
181 [37791]: https://github.com/rust-lang/rust/pull/37791
182 [37814]: https://github.com/rust-lang/rust/pull/37814
183 [37817]: https://github.com/rust-lang/rust/pull/37817
184 [37834]: https://github.com/rust-lang/rust/pull/37834
185 [37848]: https://github.com/rust-lang/rust/pull/37848
186 [37855]: https://github.com/rust-lang/rust/pull/37855
187 [37882]: https://github.com/rust-lang/rust/pull/37882
188 [37888]: https://github.com/rust-lang/rust/pull/37888
189 [37973]: https://github.com/rust-lang/rust/pull/37973
190 [37979]: https://github.com/rust-lang/rust/pull/37979
191 [38086]: https://github.com/rust-lang/rust/pull/38086
192 [38107]: https://github.com/rust-lang/rust/pull/38107
193 [38117]: https://github.com/rust-lang/rust/pull/38117
194 [38134]: https://github.com/rust-lang/rust/pull/38134
195 [38146]: https://github.com/rust-lang/rust/pull/38146
196 [38181]: https://github.com/rust-lang/rust/pull/38181
197 [38182]: https://github.com/rust-lang/rust/pull/38182
198 [38185]: https://github.com/rust-lang/rust/pull/38185
199 [38192]: https://github.com/rust-lang/rust/pull/38192
200 [38279]: https://github.com/rust-lang/rust/pull/38279
201 [38835]: https://github.com/rust-lang/rust/pull/38835
202 [RFC 1492]: https://github.com/rust-lang/rfcs/blob/master/text/1492-dotdot-in-patterns.md
203 [RFC 1506]: https://github.com/rust-lang/rfcs/blob/master/text/1506-adt-kinds.md
204 [RFC 1560]: https://github.com/rust-lang/rfcs/blob/master/text/1560-name-resolution.md
205 [RFC 1681]: https://github.com/rust-lang/rfcs/blob/master/text/1681-macros-1.1.md
206 [RFC 1717]: https://github.com/rust-lang/rfcs/blob/master/text/1717-dllimport.md
207 [`hr_lifetime_in_assoc_type` lint]: https://github.com/rust-lang/rust/issues/33685
208 [`legacy_imports`]: https://github.com/rust-lang/rust/pull/38271
209 [cargo/3102]: https://github.com/rust-lang/cargo/pull/3102
210 [cargo/3221]: https://github.com/rust-lang/cargo/pull/3221
211 [cargo/3310]: https://github.com/rust-lang/cargo/pull/3310
212 [cargo/3311]: https://github.com/rust-lang/cargo/pull/3311
213 [cargo/3319]: https://github.com/rust-lang/cargo/pull/3319
214 [cargo/3336]: https://github.com/rust-lang/cargo/pull/3336
215 [cargo/3338]: https://github.com/rust-lang/cargo/pull/3338
216 [cargo/3348]: https://github.com/rust-lang/cargo/pull/3348
217 [cargo/3356]: https://github.com/rust-lang/cargo/pull/3356
218 [cargo/3361]: https://github.com/rust-lang/cargo/pull/3361
219 [cargo/3363]: https://github.com/rust-lang/cargo/pull/3363
220 [cargo/3368]: https://github.com/rust-lang/cargo/issues/3368
221 [cargo/3409]: https://github.com/rust-lang/cargo/pull/3409
222 [cargo/3410]: https://github.com/rust-lang/cargo/pull/3410
223 [`std::iter::Iterator::min_by`]: https://doc.rust-lang.org/std/iter/trait.Iterator.html#method.min_by
224 [`std::iter::Iterator::max_by`]: https://doc.rust-lang.org/std/iter/trait.Iterator.html#method.max_by
225 [`std::os::*::fs::FileExt`]: https://doc.rust-lang.org/std/os/unix/fs/trait.FileExt.html
226 [`std::sync::atomic::Atomic*::get_mut`]: https://doc.rust-lang.org/std/sync/atomic/struct.AtomicU8.html#method.get_mut
227 [`std::sync::atomic::Atomic*::into_inner`]: https://doc.rust-lang.org/std/sync/atomic/struct.AtomicU8.html#method.into_inner
228 [`std::vec::IntoIter::as_slice`]: https://doc.rust-lang.org/std/vec/struct.IntoIter.html#method.as_slice
229 [`std::vec::IntoIter::as_mut_slice`]: https://doc.rust-lang.org/std/vec/struct.IntoIter.html#method.as_mut_slice
230 [`std::sync::mpsc::Receiver::try_iter`]: https://doc.rust-lang.org/std/sync/mpsc/struct.Receiver.html#method.try_iter
231 [`std::os::unix::process::CommandExt::before_exec`]: https://doc.rust-lang.org/std/os/unix/process/trait.CommandExt.html#tymethod.before_exec
232 [`std::rc::Rc::strong_count`]: https://doc.rust-lang.org/std/rc/struct.Rc.html#method.strong_count
233 [`std::rc::Rc::weak_count`]: https://doc.rust-lang.org/std/rc/struct.Rc.html#method.weak_count
234 [`std::sync::Arc::strong_count`]: https://doc.rust-lang.org/std/sync/struct.Arc.html#method.strong_count
235 [`std::sync::Arc::weak_count`]: https://doc.rust-lang.org/std/sync/struct.Arc.html#method.weak_count
236 [`std::char::encode_utf8`]: https://doc.rust-lang.org/std/primitive.char.html#method.encode_utf8
237 [`std::char::encode_utf16`]: https://doc.rust-lang.org/std/primitive.char.html#method.encode_utf16
238 [`std::cell::Ref::clone`]: https://doc.rust-lang.org/std/cell/struct.Ref.html#method.clone
239 [`std::io::Take::into_inner`]: https://doc.rust-lang.org/std/io/struct.Take.html#method.into_inner
240
241
242 Version 1.14.0 (2016-12-22)
243 ===========================
244
245 Language
246 --------
247
248 * [`..` matches multiple tuple fields in enum variants, structs
249   and tuples][36843]. [RFC 1492].
250 * [Safe `fn` items can be coerced to `unsafe fn` pointers][37389]
251 * [`use *` and `use ::*` both glob-import from the crate root][37367]
252 * [It's now possible to call a `Vec<Box<Fn()>>` without explicit
253   dereferencing][36822]
254
255 Compiler
256 --------
257
258 * [Mark enums with non-zero discriminant as non-zero][37224]
259 * [Lower-case `static mut` names are linted like other
260   statics and consts][37162]
261 * [Fix ICE on some macros in const integer positions
262    (e.g. `[u8; m!()]`)][36819]
263 * [Improve error message and snippet for "did you mean `x`"][36798]
264 * [Add a panic-strategy field to the target specification][36794]
265 * [Include LLVM version in `--version --verbose`][37200]
266
267 Compile-time Optimizations
268 --------------------------
269
270 * [Improve macro expansion performance][37569]
271 * [Shrink `Expr_::ExprInlineAsm`][37445]
272 * [Replace all uses of SHA-256 with BLAKE2b][37439]
273 * [Reduce the number of bytes hashed by `IchHasher`][37427]
274 * [Avoid more allocations when compiling html5ever][37373]
275 * [Use `SmallVector` in `CombineFields::instantiate`][37322]
276 * [Avoid some allocations in the macro parser][37318]
277 * [Use a faster deflate setting][37298]
278 * [Add `ArrayVec` and `AccumulateVec` to reduce heap allocations
279   during interning of slices][37270]
280 * [Optimize `write_metadata`][37267]
281 * [Don't process obligation forest cycles when stalled][37231]
282 * [Avoid many `CrateConfig` clones][37161]
283 * [Optimize `Substs::super_fold_with`][37108]
284 * [Optimize `ObligationForest`'s `NodeState` handling][36993]
285 * [Speed up `plug_leaks`][36917]
286
287 Libraries
288 ---------
289
290 * [`println!()`, with no arguments, prints newline][36825].
291   Previously, an empty string was required to achieve the same.
292 * [`Wrapping` impls standard binary and unary operators, as well as
293    the `Sum` and `Product` iterators][37356]
294 * [Implement `From<Cow<str>> for String` and `From<Cow<[T]>> for
295   Vec<T>`][37326]
296 * [Improve `fold` performance for `chain`, `cloned`, `map`, and
297   `VecDeque` iterators][37315]
298 * [Improve `SipHasher` performance on small values][37312]
299 * [Add Iterator trait TrustedLen to enable better FromIterator /
300   Extend][37306]
301 * [Expand `.zip()` specialization to `.map()` and `.cloned()`][37230]
302 * [`ReadDir` implements `Debug`][37221]
303 * [Implement `RefUnwindSafe` for atomic types][37178]
304 * [Specialize `Vec::extend` to `Vec::extend_from_slice`][37094]
305 * [Avoid allocations in `Decoder::read_str`][37064]
306 * [`io::Error` implements `From<io::ErrorKind>`][37037]
307 * [Impl `Debug` for raw pointers to unsized data][36880]
308 * [Don't reuse `HashMap` random seeds][37470]
309 * [The internal memory layout of `HashMap` is more cache-friendly, for
310   significant improvements in some operations][36692]
311 * [`HashMap` uses less memory on 32-bit architectures][36595]
312 * [Impl `Add<{str, Cow<str>}>` for `Cow<str>`][36430]
313
314 Cargo
315 -----
316
317 * [Expose rustc cfg values to build scripts][cargo/3243]
318 * [Allow cargo to work with read-only `CARGO_HOME`][cargo/3259]
319 * [Fix passing --features when testing multiple packages][cargo/3280]
320 * [Use a single profile set per workspace][cargo/3249]
321 * [Load `replace` sections from lock files][cargo/3220]
322 * [Ignore `panic` configuration for test/bench profiles][cargo/3175]
323
324 Tooling
325 -------
326
327 * [rustup is the recommended Rust installation method][1.14rustup]
328 * This release includes host (rustc) builds for Linux on MIPS, PowerPC, and
329   S390x. These are [tier 2] platforms and may have major defects. Follow the
330   instructions on the website to install, or add the targets to an existing
331   installation with `rustup target add`. The new target triples are:
332   - `mips-unknown-linux-gnu`
333   - `mipsel-unknown-linux-gnu`
334   - `mips64-unknown-linux-gnuabi64`
335   - `mips64el-unknown-linux-gnuabi64 `
336   - `powerpc-unknown-linux-gnu`
337   - `powerpc64-unknown-linux-gnu`
338   - `powerpc64le-unknown-linux-gnu`
339   - `s390x-unknown-linux-gnu `
340 * This release includes target (std) builds for ARM Linux running MUSL
341   libc. These are [tier 2] platforms and may have major defects. Add the
342   following triples to an existing rustup installation with `rustup target add`:
343   - `arm-unknown-linux-musleabi`
344   - `arm-unknown-linux-musleabihf`
345   - `armv7-unknown-linux-musleabihf`
346 * This release includes [experimental support for WebAssembly][1.14wasm], via
347   the `wasm32-unknown-emscripten` target. This target is known to have major
348   defects. Please test, report, and fix.
349 * rustup no longer installs documentation by default. Run `rustup
350   component add rust-docs` to install.
351 * [Fix line stepping in debugger][37310]
352 * [Enable line number debuginfo in releases][37280]
353
354 Misc
355 ----
356
357 * [Disable jemalloc on aarch64/powerpc/mips][37392]
358 * [Add support for Fuchsia OS][37313]
359 * [Detect local-rebuild by only MAJOR.MINOR version][37273]
360
361 Compatibility Notes
362 -------------------
363
364 * [A number of forward-compatibility lints used by the compiler
365   to gradually introduce language changes have been converted
366   to deny by default][36894]:
367   - ["use of inaccessible extern crate erroneously allowed"][36886]
368   - ["type parameter default erroneously allowed in invalid location"][36887]
369   - ["detects super or self keywords at the beginning of global path"][36888]
370   - ["two overlapping inherent impls define an item with the same name
371     were erroneously allowed"][36889]
372   - ["floating-point constants cannot be used in patterns"][36890]
373   - ["constants of struct or enum type can only be used in a pattern if
374      the struct or enum has `#[derive(PartialEq, Eq)]`"][36891]
375   - ["lifetimes or labels named `'_` were erroneously allowed"][36892]
376 * [Prohibit patterns in trait methods without bodies][37378]
377 * [The atomic `Ordering` enum may not be matched exhaustively][37351]
378 * [Future-proofing `#[no_link]` breaks some obscure cases][37247]
379 * [The `$crate` macro variable is accepted in fewer locations][37213]
380 * [Impls specifying extra region requirements beyond the trait
381   they implement are rejected][37167]
382 * [Enums may not be unsized][37111]. Unsized enums are intended to
383   work but never have. For now they are forbidden.
384 * [Enforce the shadowing restrictions from RFC 1560 for today's macros][36767]
385
386 [tier 2]: https://forge.rust-lang.org/platform-support.html
387 [1.14rustup]: https://internals.rust-lang.org/t/beta-testing-rustup-rs/3316/204
388 [1.14wasm]: https://users.rust-lang.org/t/compiling-to-the-web-with-rust-and-emscripten/7627
389 [36430]: https://github.com/rust-lang/rust/pull/36430
390 [36595]: https://github.com/rust-lang/rust/pull/36595
391 [36595]: https://github.com/rust-lang/rust/pull/36595
392 [36692]: https://github.com/rust-lang/rust/pull/36692
393 [36767]: https://github.com/rust-lang/rust/pull/36767
394 [36794]: https://github.com/rust-lang/rust/pull/36794
395 [36798]: https://github.com/rust-lang/rust/pull/36798
396 [36819]: https://github.com/rust-lang/rust/pull/36819
397 [36822]: https://github.com/rust-lang/rust/pull/36822
398 [36825]: https://github.com/rust-lang/rust/pull/36825
399 [36843]: https://github.com/rust-lang/rust/pull/36843
400 [36880]: https://github.com/rust-lang/rust/pull/36880
401 [36886]: https://github.com/rust-lang/rust/issues/36886
402 [36887]: https://github.com/rust-lang/rust/issues/36887
403 [36888]: https://github.com/rust-lang/rust/issues/36888
404 [36889]: https://github.com/rust-lang/rust/issues/36889
405 [36890]: https://github.com/rust-lang/rust/issues/36890
406 [36891]: https://github.com/rust-lang/rust/issues/36891
407 [36892]: https://github.com/rust-lang/rust/issues/36892
408 [36894]: https://github.com/rust-lang/rust/pull/36894
409 [36917]: https://github.com/rust-lang/rust/pull/36917
410 [36993]: https://github.com/rust-lang/rust/pull/36993
411 [37037]: https://github.com/rust-lang/rust/pull/37037
412 [37064]: https://github.com/rust-lang/rust/pull/37064
413 [37094]: https://github.com/rust-lang/rust/pull/37094
414 [37108]: https://github.com/rust-lang/rust/pull/37108
415 [37111]: https://github.com/rust-lang/rust/pull/37111
416 [37161]: https://github.com/rust-lang/rust/pull/37161
417 [37162]: https://github.com/rust-lang/rust/pull/37162
418 [37167]: https://github.com/rust-lang/rust/pull/37167
419 [37178]: https://github.com/rust-lang/rust/pull/37178
420 [37200]: https://github.com/rust-lang/rust/pull/37200
421 [37213]: https://github.com/rust-lang/rust/pull/37213
422 [37221]: https://github.com/rust-lang/rust/pull/37221
423 [37224]: https://github.com/rust-lang/rust/pull/37224
424 [37230]: https://github.com/rust-lang/rust/pull/37230
425 [37231]: https://github.com/rust-lang/rust/pull/37231
426 [37247]: https://github.com/rust-lang/rust/pull/37247
427 [37267]: https://github.com/rust-lang/rust/pull/37267
428 [37270]: https://github.com/rust-lang/rust/pull/37270
429 [37273]: https://github.com/rust-lang/rust/pull/37273
430 [37280]: https://github.com/rust-lang/rust/pull/37280
431 [37298]: https://github.com/rust-lang/rust/pull/37298
432 [37306]: https://github.com/rust-lang/rust/pull/37306
433 [37310]: https://github.com/rust-lang/rust/pull/37310
434 [37312]: https://github.com/rust-lang/rust/pull/37312
435 [37313]: https://github.com/rust-lang/rust/pull/37313
436 [37315]: https://github.com/rust-lang/rust/pull/37315
437 [37318]: https://github.com/rust-lang/rust/pull/37318
438 [37322]: https://github.com/rust-lang/rust/pull/37322
439 [37326]: https://github.com/rust-lang/rust/pull/37326
440 [37351]: https://github.com/rust-lang/rust/pull/37351
441 [37356]: https://github.com/rust-lang/rust/pull/37356
442 [37367]: https://github.com/rust-lang/rust/pull/37367
443 [37373]: https://github.com/rust-lang/rust/pull/37373
444 [37378]: https://github.com/rust-lang/rust/pull/37378
445 [37389]: https://github.com/rust-lang/rust/pull/37389
446 [37392]: https://github.com/rust-lang/rust/pull/37392
447 [37427]: https://github.com/rust-lang/rust/pull/37427
448 [37439]: https://github.com/rust-lang/rust/pull/37439
449 [37445]: https://github.com/rust-lang/rust/pull/37445
450 [37470]: https://github.com/rust-lang/rust/pull/37470
451 [37569]: https://github.com/rust-lang/rust/pull/37569
452 [RFC 1492]: https://github.com/rust-lang/rfcs/blob/master/text/1492-dotdot-in-patterns.md
453 [cargo/3175]: https://github.com/rust-lang/cargo/pull/3175
454 [cargo/3220]: https://github.com/rust-lang/cargo/pull/3220
455 [cargo/3243]: https://github.com/rust-lang/cargo/pull/3243
456 [cargo/3249]: https://github.com/rust-lang/cargo/pull/3249
457 [cargo/3259]: https://github.com/rust-lang/cargo/pull/3259
458 [cargo/3280]: https://github.com/rust-lang/cargo/pull/3280
459
460
461 Version 1.13.0 (2016-11-10)
462 ===========================
463
464 Language
465 --------
466
467 * [Stabilize the `?` operator][36995]. `?` is a simple way to propagate
468   errors, like the `try!` macro, described in [RFC 0243].
469 * [Stabilize macros in type position][36014]. Described in [RFC 873].
470 * [Stabilize attributes on statements][36995]. Described in [RFC 0016].
471 * [Fix `#[derive]` for empty tuple structs/variants][35728]
472 * [Fix lifetime rules for 'if' conditions][36029]
473 * [Avoid loading and parsing unconfigured non-inline modules][36482]
474
475 Compiler
476 --------
477
478 * [Add the `-C link-arg` argument][36574]
479 * [Remove the old AST-based backend from rustc_trans][35764]
480 * [Don't enable NEON by default on armv7 Linux][35814]
481 * [Fix debug line number info for macro expansions][35238]
482 * [Do not emit "class method" debuginfo for types that are not
483   DICompositeType][36008]
484 * [Warn about multiple conflicting #[repr] hints][34623]
485 * [When sizing DST, don't double-count nested struct prefixes][36351]
486 * [Default RUST_MIN_STACK to 16MiB for now][36505]
487 * [Improve rlib metadata format][36551]. Reduces rlib size significantly.
488 * [Reject macros with empty repetitions to avoid infinite loop][36721]
489 * [Expand macros without recursing to avoid stack overflows][36214]
490
491 Diagnostics
492 -----------
493
494 * [Replace macro backtraces with labeled local uses][35702]
495 * [Improve error message for missplaced doc comments][33922]
496 * [Buffer unix and lock windows to prevent message interleaving][35975]
497 * [Update lifetime errors to specifically note temporaries][36171]
498 * [Special case a few colors for Windows][36178]
499 * [Suggest `use self` when such an import resolves][36289]
500 * [Be more specific when type parameter shadows primitive type][36338]
501 * Many minor improvements
502
503 Compile-time Optimizations
504 --------------------------
505
506 * [Compute and cache HIR hashes at beginning][35854]
507 * [Don't hash types in loan paths][36004]
508 * [Cache projections in trans][35761]
509 * [Optimize the parser's last token handling][36527]
510 * [Only instantiate #[inline] functions in codegen units referencing
511   them][36524]. This leads to big improvements in cases where crates export
512   define many inline functions without using them directly.
513 * [Lazily allocate TypedArena's first chunk][36592]
514 * [Don't allocate during default HashSet creation][36734]
515
516 Stabilized APIs
517 ---------------
518
519 * [`checked_abs`]
520 * [`wrapping_abs`]
521 * [`overflowing_abs`]
522 * [`RefCell::try_borrow`]
523 * [`RefCell::try_borrow_mut`]
524
525 Libraries
526 ---------
527
528 * [Add `assert_ne!` and `debug_assert_ne!`][35074]
529 * [Make `vec_deque::Drain`, `hash_map::Drain`, and `hash_set::Drain`
530   covariant][35354]
531 * [Implement `AsRef<[T]>` for `std::slice::Iter`][35559]
532 * [Implement `Debug` for `std::vec::IntoIter`][35707]
533 * [`CString`: avoid excessive growth just to 0-terminate][35871]
534 * [Implement `CoerceUnsized` for `{Cell, RefCell, UnsafeCell}`][35627]
535 * [Use arc4rand on FreeBSD][35884]
536 * [memrchr: Correct aligned offset computation][35969]
537 * [Improve Demangling of Rust Symbols][36059]
538 * [Use monotonic time in condition variables][35048]
539 * [Implement `Debug` for `std::path::{Components,Iter}`][36101]
540 * [Implement conversion traits for `char`][35755]
541 * [Fix illegal instruction caused by overflow in channel cloning][36104]
542 * [Zero first byte of CString on drop][36264]
543 * [Inherit overflow checks for sum and product][36372]
544 * [Add missing Eq implementations][36423]
545 * [Implement `Debug` for `DirEntry`][36631]
546 * [When `getaddrinfo` returns `EAI_SYSTEM` retrieve actual error from
547   `errno`][36754]
548 * [`SipHasher`] is deprecated. Use [`DefaultHasher`].
549 * [Implement more traits for `std::io::ErrorKind`][35911]
550 * [Optimize BinaryHeap bounds checking][36072]
551 * [Work around pointer aliasing issue in `Vec::extend_from_slice`,
552   `extend_with_element`][36355]
553 * [Fix overflow checking in unsigned pow()][34942]
554
555 Cargo
556 -----
557
558 * This release includes security fixes to both curl and OpenSSL.
559 * [Fix transitive doctests when panic=abort][cargo/3021]
560 * [Add --all-features flag to cargo][cargo/3038]
561 * [Reject path-based dependencies in `cargo package`][cargo/3060]
562 * [Don't parse the home directory more than once][cargo/3078]
563 * [Don't try to generate Cargo.lock on empty workspaces][cargo/3092]
564 * [Update OpenSSL to 1.0.2j][cargo/3121]
565 * [Add license and license_file to cargo metadata output][cargo/3110]
566 * [Make crates-io registry URL optional in config; ignore all changes to
567   source.crates-io][cargo/3089]
568 * [Don't download dependencies from other platforms][cargo/3123]
569 * [Build transitive dev-dependencies when needed][cargo/3125]
570 * [Add support for per-target rustflags in .cargo/config][cargo/3157]
571 * [Avoid updating registry when adding existing deps][cargo/3144]
572 * [Warn about path overrides that won't work][cargo/3136]
573 * [Use workspaces during `cargo install`][cargo/3146]
574 * [Leak mspdbsrv.exe processes on Windows][cargo/3162]
575 * [Add --message-format flag][cargo/3000]
576 * [Pass target environment for rustdoc][cargo/3205]
577 * [Use `CommandExt::exec` for `cargo run` on Unix][cargo/2818]
578 * [Update curl and curl-sys][cargo/3241]
579 * [Call rustdoc test with the correct cfg flags of a package][cargo/3242]
580
581 Tooling
582 -------
583
584 * [rustdoc: Add the `--sysroot` argument][36586]
585 * [rustdoc: Fix a couple of issues with the search results][35655]
586 * [rustdoc: remove the `!` from macro URLs and titles][35234]
587 * [gdb: Fix pretty-printing special-cased Rust types][35585]
588 * [rustdoc: Filter more incorrect methods inherited through Deref][36266]
589
590 Misc
591 ----
592
593 * [Remove unmaintained style guide][35124]
594 * [Add s390x support][36369]
595 * [Initial work at Haiku OS support][36727]
596 * [Add mips-uclibc targets][35734]
597 * [Crate-ify compiler-rt into compiler-builtins][35021]
598 * [Add rustc version info (git hash + date) to dist tarball][36213]
599 * Many documentation improvements
600
601 Compatibility Notes
602 -------------------
603
604 * [`SipHasher`] is deprecated. Use [`DefaultHasher`].
605 * [Deny (by default) transmuting from fn item types to pointer-sized
606   types][34923]. Continuing the long transition to zero-sized fn items,
607   per [RFC 401].
608 * [Fix `#[derive]` for empty tuple structs/variants][35728].
609   Part of [RFC 1506].
610 * [Issue deprecation warnings for safe accesses to extern statics][36173]
611 * [Fix lifetime rules for 'if' conditions][36029].
612 * [Inherit overflow checks for sum and product][36372].
613 * [Forbid user-defined macros named "macro_rules"][36730].
614
615 [33922]: https://github.com/rust-lang/rust/pull/33922
616 [34623]: https://github.com/rust-lang/rust/pull/34623
617 [34923]: https://github.com/rust-lang/rust/pull/34923
618 [34942]: https://github.com/rust-lang/rust/pull/34942
619 [34982]: https://github.com/rust-lang/rust/pull/34982
620 [35021]: https://github.com/rust-lang/rust/pull/35021
621 [35048]: https://github.com/rust-lang/rust/pull/35048
622 [35074]: https://github.com/rust-lang/rust/pull/35074
623 [35124]: https://github.com/rust-lang/rust/pull/35124
624 [35234]: https://github.com/rust-lang/rust/pull/35234
625 [35238]: https://github.com/rust-lang/rust/pull/35238
626 [35354]: https://github.com/rust-lang/rust/pull/35354
627 [35559]: https://github.com/rust-lang/rust/pull/35559
628 [35585]: https://github.com/rust-lang/rust/pull/35585
629 [35627]: https://github.com/rust-lang/rust/pull/35627
630 [35655]: https://github.com/rust-lang/rust/pull/35655
631 [35702]: https://github.com/rust-lang/rust/pull/35702
632 [35707]: https://github.com/rust-lang/rust/pull/35707
633 [35728]: https://github.com/rust-lang/rust/pull/35728
634 [35734]: https://github.com/rust-lang/rust/pull/35734
635 [35755]: https://github.com/rust-lang/rust/pull/35755
636 [35761]: https://github.com/rust-lang/rust/pull/35761
637 [35764]: https://github.com/rust-lang/rust/pull/35764
638 [35814]: https://github.com/rust-lang/rust/pull/35814
639 [35854]: https://github.com/rust-lang/rust/pull/35854
640 [35871]: https://github.com/rust-lang/rust/pull/35871
641 [35884]: https://github.com/rust-lang/rust/pull/35884
642 [35911]: https://github.com/rust-lang/rust/pull/35911
643 [35969]: https://github.com/rust-lang/rust/pull/35969
644 [35975]: https://github.com/rust-lang/rust/pull/35975
645 [36004]: https://github.com/rust-lang/rust/pull/36004
646 [36008]: https://github.com/rust-lang/rust/pull/36008
647 [36014]: https://github.com/rust-lang/rust/pull/36014
648 [36029]: https://github.com/rust-lang/rust/pull/36029
649 [36059]: https://github.com/rust-lang/rust/pull/36059
650 [36072]: https://github.com/rust-lang/rust/pull/36072
651 [36101]: https://github.com/rust-lang/rust/pull/36101
652 [36104]: https://github.com/rust-lang/rust/pull/36104
653 [36171]: https://github.com/rust-lang/rust/pull/36171
654 [36173]: https://github.com/rust-lang/rust/pull/36173
655 [36178]: https://github.com/rust-lang/rust/pull/36178
656 [36213]: https://github.com/rust-lang/rust/pull/36213
657 [36214]: https://github.com/rust-lang/rust/pull/36214
658 [36264]: https://github.com/rust-lang/rust/pull/36264
659 [36266]: https://github.com/rust-lang/rust/pull/36266
660 [36289]: https://github.com/rust-lang/rust/pull/36289
661 [36338]: https://github.com/rust-lang/rust/pull/36338
662 [36351]: https://github.com/rust-lang/rust/pull/36351
663 [36355]: https://github.com/rust-lang/rust/pull/36355
664 [36369]: https://github.com/rust-lang/rust/pull/36369
665 [36372]: https://github.com/rust-lang/rust/pull/36372
666 [36423]: https://github.com/rust-lang/rust/pull/36423
667 [36482]: https://github.com/rust-lang/rust/pull/36482
668 [36505]: https://github.com/rust-lang/rust/pull/36505
669 [36524]: https://github.com/rust-lang/rust/pull/36524
670 [36527]: https://github.com/rust-lang/rust/pull/36527
671 [36551]: https://github.com/rust-lang/rust/pull/36551
672 [36574]: https://github.com/rust-lang/rust/pull/36574
673 [36586]: https://github.com/rust-lang/rust/pull/36586
674 [36592]: https://github.com/rust-lang/rust/pull/36592
675 [36631]: https://github.com/rust-lang/rust/pull/36631
676 [36639]: https://github.com/rust-lang/rust/pull/36639
677 [36721]: https://github.com/rust-lang/rust/pull/36721
678 [36727]: https://github.com/rust-lang/rust/pull/36727
679 [36730]: https://github.com/rust-lang/rust/pull/36730
680 [36734]: https://github.com/rust-lang/rust/pull/36734
681 [36754]: https://github.com/rust-lang/rust/pull/36754
682 [36995]: https://github.com/rust-lang/rust/pull/36995
683 [RFC 0016]: https://github.com/rust-lang/rfcs/blob/master/text/0016-more-attributes.md
684 [RFC 0243]: https://github.com/rust-lang/rfcs/blob/master/text/0243-trait-based-exception-handling.md
685 [RFC 1506]: https://github.com/rust-lang/rfcs/blob/master/text/1506-adt-kinds.md
686 [RFC 401]: https://github.com/rust-lang/rfcs/blob/master/text/0401-coercions.md
687 [RFC 873]: https://github.com/rust-lang/rfcs/blob/master/text/0873-type-macros.md
688 [cargo/2818]: https://github.com/rust-lang/cargo/pull/2818
689 [cargo/3000]: https://github.com/rust-lang/cargo/pull/3000
690 [cargo/3021]: https://github.com/rust-lang/cargo/pull/3021
691 [cargo/3038]: https://github.com/rust-lang/cargo/pull/3038
692 [cargo/3060]: https://github.com/rust-lang/cargo/pull/3060
693 [cargo/3078]: https://github.com/rust-lang/cargo/pull/3078
694 [cargo/3089]: https://github.com/rust-lang/cargo/pull/3089
695 [cargo/3092]: https://github.com/rust-lang/cargo/pull/3092
696 [cargo/3110]: https://github.com/rust-lang/cargo/pull/3110
697 [cargo/3121]: https://github.com/rust-lang/cargo/pull/3121
698 [cargo/3123]: https://github.com/rust-lang/cargo/pull/3123
699 [cargo/3125]: https://github.com/rust-lang/cargo/pull/3125
700 [cargo/3136]: https://github.com/rust-lang/cargo/pull/3136
701 [cargo/3144]: https://github.com/rust-lang/cargo/pull/3144
702 [cargo/3146]: https://github.com/rust-lang/cargo/pull/3146
703 [cargo/3157]: https://github.com/rust-lang/cargo/pull/3157
704 [cargo/3162]: https://github.com/rust-lang/cargo/pull/3162
705 [cargo/3205]: https://github.com/rust-lang/cargo/pull/3205
706 [cargo/3241]: https://github.com/rust-lang/cargo/pull/3241
707 [cargo/3242]: https://github.com/rust-lang/cargo/pull/3242
708 [rustup]: https://www.rustup.rs
709 [`checked_abs`]: https://doc.rust-lang.org/std/primitive.i32.html#method.checked_abs
710 [`wrapping_abs`]: https://doc.rust-lang.org/std/primitive.i32.html#method.wrapping_abs
711 [`overflowing_abs`]: https://doc.rust-lang.org/std/primitive.i32.html#method.overflowing_abs
712 [`RefCell::try_borrow`]: https://doc.rust-lang.org/std/cell/struct.RefCell.html#method.try_borrow
713 [`RefCell::try_borrow_mut`]: https://doc.rust-lang.org/std/cell/struct.RefCell.html#method.try_borrow_mut
714 [`SipHasher`]: https://doc.rust-lang.org/std/hash/struct.SipHasher.html
715 [`DefaultHasher`]: https://doc.rust-lang.org/std/collections/hash_map/struct.DefaultHasher.html
716
717
718 Version 1.12.1 (2016-10-20)
719 ===========================
720
721 Regression Fixes
722 ----------------
723
724 * [ICE: 'rustc' panicked at 'assertion failed: concrete_substs.is_normalized_for_trans()' #36381][36381]
725 * [Confusion with double negation and booleans][36856]
726 * [rustc 1.12.0 fails with SIGSEGV in release mode (syn crate 0.8.0)][36875]
727 * [Rustc 1.12.0 Windows build of `ethcore` crate fails with LLVM error][36924]
728 * [1.12.0: High memory usage when linking in release mode with debug info][36926]
729 * [Corrupted memory after updated to 1.12][36936]
730 * ["Let NullaryConstructor = something;" causes internal compiler error: "tried to overwrite interned AdtDef"][37026]
731 * [Fix ICE: inject bitcast if types mismatch for invokes/calls/stores][37112]
732 * [debuginfo: Handle spread_arg case in MIR-trans in a more stable way.][37153]
733
734 [36381]: https://github.com/rust-lang/rust/issues/36381
735 [36856]: https://github.com/rust-lang/rust/issues/36856
736 [36875]: https://github.com/rust-lang/rust/issues/36875
737 [36924]: https://github.com/rust-lang/rust/issues/36924
738 [36926]: https://github.com/rust-lang/rust/issues/36926
739 [36936]: https://github.com/rust-lang/rust/issues/36936
740 [37026]: https://github.com/rust-lang/rust/issues/37026
741 [37112]: https://github.com/rust-lang/rust/issues/37112
742 [37153]: https://github.com/rust-lang/rust/issues/37153
743
744
745 Version 1.12.0 (2016-09-29)
746 ===========================
747
748 Highlights
749 ----------
750
751 * [`rustc` translates code to LLVM IR via its own "middle" IR (MIR)]
752   (https://github.com/rust-lang/rust/pull/34096).
753   This translation pass is far simpler than the previous AST->LLVM pass, and
754   creates opportunities to perform new optimizations directly on the MIR. It
755   was previously described [on the Rust blog]
756   (https://blog.rust-lang.org/2016/04/19/MIR.html).
757 * [`rustc` presents a new, more readable error format, along with
758   machine-readable JSON error output for use by IDEs]
759   (https://github.com/rust-lang/rust/pull/35401).
760   Most common editors supporting Rust have been updated to work with it. It was
761   previously described [on the Rust blog]
762   (https://blog.rust-lang.org/2016/08/10/Shape-of-errors-to-come.html).
763
764 Compiler
765 --------
766
767 * [`rustc` translates code to LLVM IR via its own "middle" IR (MIR)]
768   (https://github.com/rust-lang/rust/pull/34096).
769   This translation pass is far simpler than the previous AST->LLVM pass, and
770   creates opportunities to perform new optimizations directly on the MIR. It
771   was previously described [on the Rust blog]
772   (https://blog.rust-lang.org/2016/04/19/MIR.html).
773 * [Print the Rust target name, not the LLVM target name, with
774   `--print target-list`]
775   (https://github.com/rust-lang/rust/pull/35489)
776 * [The computation of `TypeId` is correct in some cases where it was previously
777   producing inconsistent results]
778   (https://github.com/rust-lang/rust/pull/35267)
779 * [The `mips-unknown-linux-gnu` target uses hardware floating point by default]
780   (https://github.com/rust-lang/rust/pull/34910)
781 * [The `rustc` arguments, `--print target-cpus`, `--print target-features`,
782   `--print relocation-models`, and `--print code-models` print the available
783   options to the `-C target-cpu`, `-C target-feature`, `-C relocation-model` and
784   `-C code-model` code generation arguments]
785   (https://github.com/rust-lang/rust/pull/34845)
786 * [`rustc` supports three new MUSL targets on ARM: `arm-unknown-linux-musleabi`,
787   `arm-unknown-linux-musleabihf`, and `armv7-unknown-linux-musleabihf`]
788   (https://github.com/rust-lang/rust/pull/35060).
789   These targets produce statically-linked binaries. There are no binary release
790   builds yet though.
791
792 Diagnostics
793 -----------
794
795 * [`rustc` presents a new, more readable error format, along with
796   machine-readable JSON error output for use by IDEs]
797   (https://github.com/rust-lang/rust/pull/35401).
798   Most common editors supporting Rust have been updated to work with it. It was
799   previously described [on the Rust blog]
800   (https://blog.rust-lang.org/2016/08/10/Shape-of-errors-to-come.html).
801 * [In error descriptions, references are now described in plain English,
802   instead of as "&-ptr"]
803   (https://github.com/rust-lang/rust/pull/35611)
804 * [In error type descriptions, unknown numeric types are named `{integer}` or
805   `{float}` instead of `_`]
806   (https://github.com/rust-lang/rust/pull/35080)
807 * [`rustc` emits a clearer error when inner attributes follow a doc comment]
808   (https://github.com/rust-lang/rust/pull/34676)
809
810 Language
811 --------
812
813 * [`macro_rules!` invocations can be made within `macro_rules!` invocations]
814   (https://github.com/rust-lang/rust/pull/34925)
815 * [`macro_rules!` meta-variables are hygienic]
816   (https://github.com/rust-lang/rust/pull/35453)
817 * [`macro_rules!` `tt` matchers can be reparsed correctly, making them much more
818   useful]
819   (https://github.com/rust-lang/rust/pull/34908)
820 * [`macro_rules!` `stmt` matchers correctly consume the entire contents when
821   inside non-braces invocations]
822   (https://github.com/rust-lang/rust/pull/34886)
823 * [Semicolons are properly required as statement delimeters inside
824   `macro_rules!` invocations]
825   (https://github.com/rust-lang/rust/pull/34660)
826 * [`cfg_attr` works on `path` attributes]
827   (https://github.com/rust-lang/rust/pull/34546)
828
829 Stabilized APIs
830 ---------------
831
832 * [`Cell::as_ptr`]
833   (https://doc.rust-lang.org/std/cell/struct.Cell.html#method.as_ptr)
834 * [`RefCell::as_ptr`]
835   (https://doc.rust-lang.org/std/cell/struct.RefCell.html#method.as_ptr)
836 * [`IpAddr::is_unspecified`]
837   (https://doc.rust-lang.org/std/net/enum.IpAddr.html#method.is_unspecified)
838 * [`IpAddr::is_loopback`]
839   (https://doc.rust-lang.org/std/net/enum.IpAddr.html#method.is_loopback)
840 * [`IpAddr::is_multicast`]
841   (https://doc.rust-lang.org/std/net/enum.IpAddr.html#method.is_multicast)
842 * [`Ipv4Addr::is_unspecified`]
843   (https://doc.rust-lang.org/std/net/struct.Ipv4Addr.html#method.is_unspecified)
844 * [`Ipv6Addr::octets`]
845   (https://doc.rust-lang.org/std/net/struct.Ipv6Addr.html#method.octets)
846 * [`LinkedList::contains`]
847   (https://doc.rust-lang.org/std/collections/linked_list/struct.LinkedList.html#method.contains)
848 * [`VecDeque::contains`]
849   (https://doc.rust-lang.org/std/collections/vec_deque/struct.VecDeque.html#method.contains)
850 * [`ExitStatusExt::from_raw`]
851   (https://doc.rust-lang.org/std/os/unix/process/trait.ExitStatusExt.html#tymethod.from_raw).
852   Both on Unix and Windows.
853 * [`Receiver::recv_timeout`]
854   (https://doc.rust-lang.org/std/sync/mpsc/struct.Receiver.html#method.recv_timeout)
855 * [`RecvTimeoutError`]
856   (https://doc.rust-lang.org/std/sync/mpsc/enum.RecvTimeoutError.html)
857 * [`BinaryHeap::peek_mut`]
858   (https://doc.rust-lang.org/std/collections/binary_heap/struct.BinaryHeap.html#method.peek_mut)
859 * [`PeekMut`]
860   (https://doc.rust-lang.org/std/collections/binary_heap/struct.PeekMut.html)
861 * [`iter::Product`]
862   (https://doc.rust-lang.org/std/iter/trait.Product.html)
863 * [`iter::Sum`]
864   (https://doc.rust-lang.org/std/iter/trait.Sum.html)
865 * [`OccupiedEntry::remove_entry`]
866   (https://doc.rust-lang.org/std/collections/btree_map/struct.OccupiedEntry.html#method.remove_entry)
867 * [`VacantEntry::into_key`]
868   (https://doc.rust-lang.org/std/collections/btree_map/struct.VacantEntry.html#method.into_key)
869
870 Libraries
871 ---------
872
873 * [The `format!` macro and friends now allow a single argument to be formatted
874   in multiple styles]
875   (https://github.com/rust-lang/rust/pull/33642)
876 * [The lifetime bounds on `[T]::binary_search_by` and
877   `[T]::binary_search_by_key` have been adjusted to be more flexible]
878   (https://github.com/rust-lang/rust/pull/34762)
879 * [`Option` implements `From` for its contained type]
880   (https://github.com/rust-lang/rust/pull/34828)
881 * [`Cell`, `RefCell` and `UnsafeCell` implement `From` for their contained type]
882   (https://github.com/rust-lang/rust/pull/35392)
883 * [`RwLock` panics if the reader count overflows]
884   (https://github.com/rust-lang/rust/pull/35378)
885 * [`vec_deque::Drain`, `hash_map::Drain` and `hash_set::Drain` are covariant]
886   (https://github.com/rust-lang/rust/pull/35354)
887 * [`vec::Drain` and `binary_heap::Drain` are covariant]
888   (https://github.com/rust-lang/rust/pull/34951)
889 * [`Cow<str>` implements `FromIterator` for `char`, `&str` and `String`]
890   (https://github.com/rust-lang/rust/pull/35064)
891 * [Sockets on Linux are correctly closed in subprocesses via `SOCK_CLOEXEC`]
892   (https://github.com/rust-lang/rust/pull/34946)
893 * [`hash_map::Entry`, `hash_map::VacantEntry` and `hash_map::OccupiedEntry`
894   implement `Debug`]
895   (https://github.com/rust-lang/rust/pull/34937)
896 * [`btree_map::Entry`, `btree_map::VacantEntry` and `btree_map::OccupiedEntry`
897   implement `Debug`]
898   (https://github.com/rust-lang/rust/pull/34885)
899 * [`String` implements `AddAssign`]
900   (https://github.com/rust-lang/rust/pull/34890)
901 * [Variadic `extern fn` pointers implement the `Clone`, `PartialEq`, `Eq`,
902   `PartialOrd`, `Ord`, `Hash`, `fmt::Pointer`, and `fmt::Debug` traits]
903   (https://github.com/rust-lang/rust/pull/34879)
904 * [`FileType` implements `Debug`]
905   (https://github.com/rust-lang/rust/pull/34757)
906 * [References to `Mutex` and `RwLock` are unwind-safe]
907   (https://github.com/rust-lang/rust/pull/34756)
908 * [`mpsc::sync_channel` `Receiver`s return any available message before
909   reporting a disconnect]
910   (https://github.com/rust-lang/rust/pull/34731)
911 * [Unicode definitions have been updated to 9.0]
912   (https://github.com/rust-lang/rust/pull/34599)
913 * [`env` iterators implement `DoubleEndedIterator`]
914   (https://github.com/rust-lang/rust/pull/33312)
915
916 Cargo
917 -----
918
919 * [Support local mirrors of registries]
920   (https://github.com/rust-lang/cargo/pull/2857)
921 * [Add support for command aliases]
922   (https://github.com/rust-lang/cargo/pull/2679)
923 * [Allow `opt-level="s"` / `opt-level="z"` in profile overrides]
924   (https://github.com/rust-lang/cargo/pull/3007)
925 * [Make `cargo doc --open --target` work as expected]
926   (https://github.com/rust-lang/cargo/pull/2988)
927 * [Speed up noop registry updates]
928   (https://github.com/rust-lang/cargo/pull/2974)
929 * [Update OpenSSL]
930   (https://github.com/rust-lang/cargo/pull/2971)
931 * [Fix `--panic=abort` with plugins]
932   (https://github.com/rust-lang/cargo/pull/2954)
933 * [Always pass `-C metadata` to the compiler]
934   (https://github.com/rust-lang/cargo/pull/2946)
935 * [Fix depending on git repos with workspaces]
936   (https://github.com/rust-lang/cargo/pull/2938)
937 * [Add a `--lib` flag to `cargo new`]
938   (https://github.com/rust-lang/cargo/pull/2921)
939 * [Add `http.cainfo` for custom certs]
940   (https://github.com/rust-lang/cargo/pull/2917)
941 * [Indicate the compilation profile after compiling]
942   (https://github.com/rust-lang/cargo/pull/2909)
943 * [Allow enabling features for dependencies with `--features`]
944   (https://github.com/rust-lang/cargo/pull/2876)
945 * [Add `--jobs` flag to `cargo package`]
946   (https://github.com/rust-lang/cargo/pull/2867)
947 * [Add `--dry-run` to `cargo publish`]
948   (https://github.com/rust-lang/cargo/pull/2849)
949 * [Add support for `RUSTDOCFLAGS`]
950   (https://github.com/rust-lang/cargo/pull/2794)
951
952 Performance
953 -----------
954
955 * [`panic::catch_unwind` is more optimized]
956   (https://github.com/rust-lang/rust/pull/35444)
957 * [`panic::catch_unwind` no longer accesses thread-local storage on entry]
958   (https://github.com/rust-lang/rust/pull/34866)
959
960 Tooling
961 -------
962
963 * [Test binaries now support a `--test-threads` argument to specify the number
964   of threads used to run tests, and which acts the same as the
965   `RUST_TEST_THREADS` environment variable]
966   (https://github.com/rust-lang/rust/pull/35414)  
967 * [The test runner now emits a warning when tests run over 60 seconds]
968   (https://github.com/rust-lang/rust/pull/35405)
969 * [rustdoc: Fix methods in search results]
970   (https://github.com/rust-lang/rust/pull/34752)
971 * [`rust-lldb` warns about unsupported versions of LLDB]
972   (https://github.com/rust-lang/rust/pull/34646)
973 * [Rust releases now come with source packages that can be installed by rustup
974   via `rustup component add rust-src`]
975   (https://github.com/rust-lang/rust/pull/34366).
976   The resulting source code can be used by tools and IDES, located in the
977   sysroot under `lib/rustlib/src`.
978
979 Misc
980 ----
981
982 * [The compiler can now be built against LLVM 3.9]
983   (https://github.com/rust-lang/rust/pull/35594)
984 * Many minor improvements to the documentation.
985 * [The Rust exception handling "personality" routine is now written in Rust]
986   (https://github.com/rust-lang/rust/pull/34832)
987
988 Compatibility Notes
989 -------------------
990
991 * [When printing Windows `OsStr`s, unpaired surrogate codepoints are escaped
992   with the lowercase format instead of the uppercase]
993   (https://github.com/rust-lang/rust/pull/35084)
994 * [When formatting strings, if "precision" is specified, the "fill",
995   "align" and "width" specifiers are no longer ignored]
996   (https://github.com/rust-lang/rust/pull/34544)
997 * [The `Debug` impl for strings no longer escapes all non-ASCII characters]
998   (https://github.com/rust-lang/rust/pull/34485)
999
1000
1001 Version 1.11.0 (2016-08-18)
1002 ===========================
1003
1004 Language
1005 --------
1006
1007 * [`cfg_attr` works on `path` attributes]
1008   (https://github.com/rust-lang/rust/pull/34546)
1009 * [Support nested `cfg_attr` attributes]
1010   (https://github.com/rust-lang/rust/pull/34216)
1011 * [Allow statement-generating braced macro invocations at the end of blocks]
1012   (https://github.com/rust-lang/rust/pull/34436)
1013 * [Macros can be expanded inside of trait definitions]
1014   (https://github.com/rust-lang/rust/pull/34213)
1015 * [`#[macro_use]` works properly when it is itself expanded from a macro]
1016   (https://github.com/rust-lang/rust/pull/34032)
1017
1018 Stabilized APIs
1019 ---------------
1020
1021 * [`BinaryHeap::append`]
1022   (https://doc.rust-lang.org/std/collections/binary_heap/struct.BinaryHeap.html#method.append)
1023 * [`BTreeMap::append`]
1024   (https://doc.rust-lang.org/std/collections/btree_map/struct.BTreeMap.html#method.append)
1025 * [`BTreeMap::split_off`]
1026   (https://doc.rust-lang.org/std/collections/btree_map/struct.BTreeMap.html#method.split_off)
1027 * [`BTreeSet::append`]
1028   (https://doc.rust-lang.org/std/collections/btree_set/struct.BTreeSet.html#method.append)
1029 * [`BTreeSet::split_off`]
1030   (https://doc.rust-lang.org/std/collections/btree_set/struct.BTreeSet.html#method.split_off)
1031 * [`f32::to_degrees`]
1032   (https://doc.rust-lang.org/std/primitive.f32.html#method.to_degrees)
1033   (in libcore - previously stabilized in libstd)
1034 * [`f32::to_radians`]
1035   (https://doc.rust-lang.org/std/primitive.f32.html#method.to_radians)
1036   (in libcore - previously stabilized in libstd)
1037 * [`f64::to_degrees`]
1038   (https://doc.rust-lang.org/std/primitive.f64.html#method.to_degrees)
1039   (in libcore - previously stabilized in libstd)
1040 * [`f64::to_radians`]
1041   (https://doc.rust-lang.org/std/primitive.f64.html#method.to_radians)
1042   (in libcore - previously stabilized in libstd)
1043 * [`Iterator::sum`]
1044   (https://doc.rust-lang.org/std/iter/trait.Iterator.html#method.sum)
1045 * [`Iterator::product`]
1046   (https://doc.rust-lang.org/std/iter/trait.Iterator.html#method.sum)
1047 * [`Cell::get_mut`]
1048   (https://doc.rust-lang.org/std/cell/struct.Cell.html#method.get_mut)
1049 * [`RefCell::get_mut`]
1050   (https://doc.rust-lang.org/std/cell/struct.RefCell.html#method.get_mut)
1051
1052 Libraries
1053 ---------
1054
1055 * [The `thread_local!` macro supports multiple definitions in a single
1056    invocation, and can apply attributes]
1057   (https://github.com/rust-lang/rust/pull/34077)
1058 * [`Cow` implements `Default`]
1059   (https://github.com/rust-lang/rust/pull/34305)
1060 * [`Wrapping` implements binary, octal, lower-hex and upper-hex
1061   `Display` formatting]
1062   (https://github.com/rust-lang/rust/pull/34190)
1063 * [The range types implement `Hash`]
1064   (https://github.com/rust-lang/rust/pull/34180)
1065 * [`lookup_host` ignores unknown address types]
1066   (https://github.com/rust-lang/rust/pull/34067)
1067 * [`assert_eq!` accepts a custom error message, like `assert!` does]
1068   (https://github.com/rust-lang/rust/pull/33976)
1069 * [The main thread is now called "main" instead of "&lt;main&gt;"]
1070   (https://github.com/rust-lang/rust/pull/33803)
1071
1072 Cargo
1073 -----
1074
1075 * [Disallow specifying features of transitive deps]
1076   (https://github.com/rust-lang/cargo/pull/2821)
1077 * [Add color support for Windows consoles]
1078   (https://github.com/rust-lang/cargo/pull/2804)
1079 * [Fix `harness = false` on `[lib]` sections]
1080   (https://github.com/rust-lang/cargo/pull/2795)
1081 * [Don't panic when `links` contains a '.']
1082   (https://github.com/rust-lang/cargo/pull/2787)
1083 * [Build scripts can emit warnings]
1084   (https://github.com/rust-lang/cargo/pull/2630),
1085   and `-vv` prints warnings for all crates.
1086 * [Ignore file locks on OS X NFS mounts]
1087   (https://github.com/rust-lang/cargo/pull/2720)
1088 * [Don't warn about `package.metadata` keys]
1089   (https://github.com/rust-lang/cargo/pull/2668).
1090   This provides room for expansion by arbitrary tools.
1091 * [Add support for cdylib crate types]
1092   (https://github.com/rust-lang/cargo/pull/2741)
1093 * [Prevent publishing crates when files are dirty]
1094   (https://github.com/rust-lang/cargo/pull/2781)
1095 * [Don't fetch all crates on clean]
1096   (https://github.com/rust-lang/cargo/pull/2704)
1097 * [Propagate --color option to rustc]
1098   (https://github.com/rust-lang/cargo/pull/2779)
1099 * [Fix `cargo doc --open` on Windows]
1100   (https://github.com/rust-lang/cargo/pull/2780)
1101 * [Improve autocompletion]
1102   (https://github.com/rust-lang/cargo/pull/2772)
1103 * [Configure colors of stderr as well as stdout]
1104   (https://github.com/rust-lang/cargo/pull/2739)
1105
1106 Performance
1107 -----------
1108
1109 * [Caching projections speeds up type check dramatically for some
1110   workloads]
1111   (https://github.com/rust-lang/rust/pull/33816)
1112 * [The default `HashMap` hasher is SipHash 1-3 instead of SipHash 2-4]
1113   (https://github.com/rust-lang/rust/pull/33940)
1114   This hasher is faster, but is believed to provide sufficient
1115   protection from collision attacks.
1116 * [Comparison of `Ipv4Addr` is 10x faster]
1117   (https://github.com/rust-lang/rust/pull/33891)
1118
1119 Rustdoc
1120 -------
1121
1122 * [Fix empty implementation section on some module pages]
1123   (https://github.com/rust-lang/rust/pull/34536)
1124 * [Fix inlined renamed reexports in import lists]
1125   (https://github.com/rust-lang/rust/pull/34479)
1126 * [Fix search result layout for enum variants and struct fields]
1127   (https://github.com/rust-lang/rust/pull/34477)
1128 * [Fix issues with source links to external crates]
1129   (https://github.com/rust-lang/rust/pull/34387)
1130 * [Fix redirect pages for renamed reexports]
1131   (https://github.com/rust-lang/rust/pull/34245)
1132
1133 Tooling
1134 -------
1135
1136 * [rustc is better at finding the MSVC toolchain]
1137   (https://github.com/rust-lang/rust/pull/34492)
1138 * [When emitting debug info, rustc emits frame pointers for closures,
1139   shims and glue, as it does for all other functions]
1140   (https://github.com/rust-lang/rust/pull/33909)
1141 * [rust-lldb warns about unsupported versions of LLDB]
1142   (https://github.com/rust-lang/rust/pull/34646)
1143 * Many more errors have been given error codes and extended
1144   explanations
1145 * API documentation continues to be improved, with many new examples
1146
1147 Misc
1148 ----
1149
1150 * [rustc no longer hangs when dependencies recursively re-export
1151   submodules]
1152   (https://github.com/rust-lang/rust/pull/34542)
1153 * [rustc requires LLVM 3.7+]
1154   (https://github.com/rust-lang/rust/pull/34104)
1155 * [The 'How Safe and Unsafe Interact' chapter of The Rustonomicon was
1156   rewritten]
1157   (https://github.com/rust-lang/rust/pull/33895)
1158 * [rustc support 16-bit pointer sizes]
1159   (https://github.com/rust-lang/rust/pull/33460).
1160   No targets use this yet, but it works toward AVR support.
1161
1162 Compatibility Notes
1163 -------------------
1164
1165 * [`const`s and `static`s may not have unsized types]
1166   (https://github.com/rust-lang/rust/pull/34443)
1167 * [The new follow-set rules that place restrictions on `macro_rules!`
1168   in order to ensure syntax forward-compatibility have been enabled]
1169   (https://github.com/rust-lang/rust/pull/33982)
1170   This was an [ammendment to RFC 550]
1171   (https://github.com/rust-lang/rfcs/pull/1384),
1172   and has been a warning since 1.10.
1173 * [`cfg` attribute process has been refactored to fix various bugs]
1174   (https://github.com/rust-lang/rust/pull/33706).
1175   This causes breakage in some corner cases.
1176
1177
1178 Version 1.10.0 (2016-07-07)
1179 ===========================
1180
1181 Language
1182 --------
1183
1184 * [Allow `concat_idents!` in type positions as well as in expression
1185   positions]
1186   (https://github.com/rust-lang/rust/pull/33735).
1187 * [`Copy` types are required to have a trivial implementation of `Clone`]
1188   (https://github.com/rust-lang/rust/pull/33420).
1189   [RFC 1521](https://github.com/rust-lang/rfcs/blob/master/text/1521-copy-clone-semantics.md).
1190 * [Single-variant enums support the `#[repr(..)]` attribute]
1191   (https://github.com/rust-lang/rust/pull/33355).
1192 * [Fix `#[derive(RustcEncodable)]` in the presence of other `encode` methods]
1193   (https://github.com/rust-lang/rust/pull/32908).
1194 * [`panic!` can be converted to a runtime abort with the
1195   `-C panic=abort` flag]
1196   (https://github.com/rust-lang/rust/pull/32900).
1197   [RFC 1513](https://github.com/rust-lang/rfcs/blob/master/text/1513-less-unwinding.md).
1198 * [Add a new crate type, 'cdylib']
1199   (https://github.com/rust-lang/rust/pull/33553).
1200   cdylibs are dynamic libraries suitable for loading by non-Rust hosts.
1201   [RFC 1510](https://github.com/rust-lang/rfcs/blob/master/text/1510-rdylib.md).
1202   Note that Cargo does not yet directly support cdylibs.
1203
1204 Stabilized APIs
1205 ---------------
1206
1207 * `os::windows::fs::OpenOptionsExt::access_mode`
1208 * `os::windows::fs::OpenOptionsExt::share_mode`
1209 * `os::windows::fs::OpenOptionsExt::custom_flags`
1210 * `os::windows::fs::OpenOptionsExt::attributes`
1211 * `os::windows::fs::OpenOptionsExt::security_qos_flags`
1212 * `os::unix::fs::OpenOptionsExt::custom_flags`
1213 * [`sync::Weak::new`]
1214   (http://doc.rust-lang.org/alloc/arc/struct.Weak.html#method.new)
1215 * `Default for sync::Weak`
1216 * [`panic::set_hook`]
1217   (http://doc.rust-lang.org/std/panic/fn.set_hook.html)
1218 * [`panic::take_hook`]
1219   (http://doc.rust-lang.org/std/panic/fn.take_hook.html)
1220 * [`panic::PanicInfo`]
1221   (http://doc.rust-lang.org/std/panic/struct.PanicInfo.html)
1222 * [`panic::PanicInfo::payload`]
1223   (http://doc.rust-lang.org/std/panic/struct.PanicInfo.html#method.payload)
1224 * [`panic::PanicInfo::location`]
1225   (http://doc.rust-lang.org/std/panic/struct.PanicInfo.html#method.location)
1226 * [`panic::Location`]
1227   (http://doc.rust-lang.org/std/panic/struct.Location.html)
1228 * [`panic::Location::file`]
1229   (http://doc.rust-lang.org/std/panic/struct.Location.html#method.file)
1230 * [`panic::Location::line`]
1231   (http://doc.rust-lang.org/std/panic/struct.Location.html#method.line)
1232 * [`ffi::CStr::from_bytes_with_nul`]
1233   (http://doc.rust-lang.org/std/ffi/struct.CStr.html#method.from_bytes_with_nul)
1234 * [`ffi::CStr::from_bytes_with_nul_unchecked`]
1235   (http://doc.rust-lang.org/std/ffi/struct.CStr.html#method.from_bytes_with_nul_unchecked)
1236 * [`ffi::FromBytesWithNulError`]
1237   (http://doc.rust-lang.org/std/ffi/struct.FromBytesWithNulError.html)
1238 * [`fs::Metadata::modified`]
1239   (http://doc.rust-lang.org/std/fs/struct.Metadata.html#method.modified)
1240 * [`fs::Metadata::accessed`]
1241   (http://doc.rust-lang.org/std/fs/struct.Metadata.html#method.accessed)
1242 * [`fs::Metadata::created`]
1243   (http://doc.rust-lang.org/std/fs/struct.Metadata.html#method.created)
1244 * `sync::atomic::Atomic{Usize,Isize,Bool,Ptr}::compare_exchange`
1245 * `sync::atomic::Atomic{Usize,Isize,Bool,Ptr}::compare_exchange_weak`
1246 * `collections::{btree,hash}_map::{Occupied,Vacant,}Entry::key`
1247 * `os::unix::net::{UnixStream, UnixListener, UnixDatagram, SocketAddr}`
1248 * [`SocketAddr::is_unnamed`]
1249   (http://doc.rust-lang.org/std/os/unix/net/struct.SocketAddr.html#method.is_unnamed)
1250 * [`SocketAddr::as_pathname`]
1251   (http://doc.rust-lang.org/std/os/unix/net/struct.SocketAddr.html#method.as_pathname)
1252 * [`UnixStream::connect`]
1253   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixStream.html#method.connect)
1254 * [`UnixStream::pair`]
1255   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixStream.html#method.pair)
1256 * [`UnixStream::try_clone`]
1257   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixStream.html#method.try_clone)
1258 * [`UnixStream::local_addr`]
1259   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixStream.html#method.local_addr)
1260 * [`UnixStream::peer_addr`]
1261   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixStream.html#method.peer_addr)
1262 * [`UnixStream::set_read_timeout`]
1263   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixStream.html#method.read_timeout)
1264 * [`UnixStream::set_write_timeout`]
1265   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixStream.html#method.write_timeout)
1266 * [`UnixStream::read_timeout`]
1267   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixStream.html#method.read_timeout)
1268 * [`UnixStream::write_timeout`]
1269   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixStream.html#method.write_timeout)
1270 * [`UnixStream::set_nonblocking`]
1271   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixStream.html#method.set_nonblocking)
1272 * [`UnixStream::take_error`]
1273   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixStream.html#method.take_error)
1274 * [`UnixStream::shutdown`]
1275   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixStream.html#method.shutdown)
1276 * Read/Write/RawFd impls for `UnixStream`
1277 * [`UnixListener::bind`]
1278   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixListener.html#method.bind)
1279 * [`UnixListener::accept`]
1280   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixListener.html#method.accept)
1281 * [`UnixListener::try_clone`]
1282   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixListener.html#method.try_clone)
1283 * [`UnixListener::local_addr`]
1284   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixListener.html#method.local_addr)
1285 * [`UnixListener::set_nonblocking`]
1286   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixListener.html#method.set_nonblocking)
1287 * [`UnixListener::take_error`]
1288   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixListener.html#method.take_error)
1289 * [`UnixListener::incoming`]
1290   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixListener.html#method.incoming)
1291 * RawFd impls for `UnixListener`
1292 * [`UnixDatagram::bind`]
1293   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.bind)
1294 * [`UnixDatagram::unbound`]
1295   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.unbound)
1296 * [`UnixDatagram::pair`]
1297   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.pair)
1298 * [`UnixDatagram::connect`]
1299   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.connect)
1300 * [`UnixDatagram::try_clone`]
1301   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.try_clone)
1302 * [`UnixDatagram::local_addr`]
1303   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.local_addr)
1304 * [`UnixDatagram::peer_addr`]
1305   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.peer_addr)
1306 * [`UnixDatagram::recv_from`]
1307   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.recv_from)
1308 * [`UnixDatagram::recv`]
1309   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.recv)
1310 * [`UnixDatagram::send_to`]
1311   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.send_to)
1312 * [`UnixDatagram::send`]
1313   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.send)
1314 * [`UnixDatagram::set_read_timeout`]
1315   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.set_read_timeout)
1316 * [`UnixDatagram::set_write_timeout`]
1317   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.set_write_timeout)
1318 * [`UnixDatagram::read_timeout`]
1319   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.read_timeout)
1320 * [`UnixDatagram::write_timeout`]
1321   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.write_timeout)
1322 * [`UnixDatagram::set_nonblocking`]
1323   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.set_nonblocking)
1324 * [`UnixDatagram::take_error`]
1325   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.take_error)
1326 * [`UnixDatagram::shutdown`]
1327   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.shutdown)
1328 * RawFd impls for `UnixDatagram`
1329 * `{BTree,Hash}Map::values_mut`
1330 * [`<[_]>::binary_search_by_key`]
1331   (http://doc.rust-lang.org/beta/std/primitive.slice.html#method.binary_search_by_key)
1332
1333 Libraries
1334 ---------
1335
1336 * [The `abs_sub` method of floats is deprecated]
1337   (https://github.com/rust-lang/rust/pull/33664).
1338   The semantics of this minor method are subtle and probably not what
1339   most people want.
1340 * [Add implementation of Ord for Cell<T> and RefCell<T> where T: Ord]
1341   (https://github.com/rust-lang/rust/pull/33306).
1342 * [On Linux, if `HashMap`s can't be initialized with `getrandom` they
1343   will fall back to `/dev/urandom` temporarily to avoid blocking
1344   during early boot]
1345   (https://github.com/rust-lang/rust/pull/33086).
1346 * [Implemented negation for wrapping numerals]
1347   (https://github.com/rust-lang/rust/pull/33067).
1348 * [Implement `Clone` for `binary_heap::IntoIter`]
1349   (https://github.com/rust-lang/rust/pull/33050).
1350 * [Implement `Display` and `Hash` for `std::num::Wrapping`]
1351   (https://github.com/rust-lang/rust/pull/33023).
1352 * [Add `Default` implementation for `&CStr`, `CString`]
1353   (https://github.com/rust-lang/rust/pull/32990).
1354 * [Implement `From<Vec<T>>` and `Into<Vec<T>>` for `VecDeque<T>`]
1355   (https://github.com/rust-lang/rust/pull/32866).
1356 * [Implement `Default` for `UnsafeCell`, `fmt::Error`, `Condvar`,
1357   `Mutex`, `RwLock`]
1358   (https://github.com/rust-lang/rust/pull/32785).
1359
1360 Cargo
1361 -----
1362 * [Cargo.toml supports the `profile.*.panic` option]
1363   (https://github.com/rust-lang/cargo/pull/2687).
1364   This controls the runtime behavior of the `panic!` macro
1365   and can be either "unwind" (the default), or "abort".
1366   [RFC 1513](https://github.com/rust-lang/rfcs/blob/master/text/1513-less-unwinding.md).
1367 * [Don't throw away errors with `-p` arguments]
1368   (https://github.com/rust-lang/cargo/pull/2723).
1369 * [Report status to stderr instead of stdout]
1370   (https://github.com/rust-lang/cargo/pull/2693).
1371 * [Build scripts are passed a `CARGO_MANIFEST_LINKS` environment
1372   variable that corresponds to the `links` field of the manifest]
1373   (https://github.com/rust-lang/cargo/pull/2710).
1374 * [Ban keywords from crate names]
1375   (https://github.com/rust-lang/cargo/pull/2707).
1376 * [Canonicalize `CARGO_HOME` on Windows]
1377   (https://github.com/rust-lang/cargo/pull/2604).
1378 * [Retry network requests]
1379   (https://github.com/rust-lang/cargo/pull/2396).
1380   By default they are retried twice, which can be customized with the
1381   `net.retry` value in `.cargo/config`.
1382 * [Don't print extra error info for failing subcommands]
1383   (https://github.com/rust-lang/cargo/pull/2674).
1384 * [Add `--force` flag to `cargo install`]
1385   (https://github.com/rust-lang/cargo/pull/2405).
1386 * [Don't use `flock` on NFS mounts]
1387   (https://github.com/rust-lang/cargo/pull/2623).
1388 * [Prefer building `cargo install` artifacts in temporary directories]
1389   (https://github.com/rust-lang/cargo/pull/2610).
1390   Makes it possible to install multiple crates in parallel.
1391 * [Add `cargo test --doc`]
1392   (https://github.com/rust-lang/cargo/pull/2578).
1393 * [Add `cargo --explain`]
1394   (https://github.com/rust-lang/cargo/pull/2551).
1395 * [Don't print warnings when `-q` is passed]
1396   (https://github.com/rust-lang/cargo/pull/2576).
1397 * [Add `cargo doc --lib` and `--bin`]
1398   (https://github.com/rust-lang/cargo/pull/2577).
1399 * [Don't require build script output to be UTF-8]
1400   (https://github.com/rust-lang/cargo/pull/2560).
1401 * [Correctly attempt multiple git usernames]
1402   (https://github.com/rust-lang/cargo/pull/2584).
1403
1404 Performance
1405 -----------
1406
1407 * [rustc memory usage was reduced by refactoring the context used for
1408   type checking]
1409   (https://github.com/rust-lang/rust/pull/33425).
1410 * [Speed up creation of `HashMap`s by caching the random keys used
1411   to initialize the hash state]
1412   (https://github.com/rust-lang/rust/pull/33318).
1413 * [The `find` implementation for `Chain` iterators is 2x faster]
1414   (https://github.com/rust-lang/rust/pull/33289).
1415 * [Trait selection optimizations speed up type checking by 15%]
1416   (https://github.com/rust-lang/rust/pull/33138).
1417 * [Efficient trie lookup for boolean Unicode properties]
1418   (https://github.com/rust-lang/rust/pull/33098).
1419   10x faster than the previous lookup tables.
1420 * [Special case `#[derive(Copy, Clone)]` to avoid bloat]
1421   (https://github.com/rust-lang/rust/pull/31414).
1422
1423 Usability
1424 ---------
1425
1426 * Many incremental improvements to documentation and rustdoc.
1427 * [rustdoc: List blanket trait impls]
1428   (https://github.com/rust-lang/rust/pull/33514).
1429 * [rustdoc: Clean up ABI rendering]
1430   (https://github.com/rust-lang/rust/pull/33151).
1431 * [Indexing with the wrong type produces a more informative error]
1432   (https://github.com/rust-lang/rust/pull/33401).
1433 * [Improve diagnostics for constants being used in irrefutable patterns]
1434   (https://github.com/rust-lang/rust/pull/33406).
1435 * [When many method candidates are in scope limit the suggestions to 10]
1436   (https://github.com/rust-lang/rust/pull/33338).
1437 * [Remove confusing suggestion when calling a `fn` type]
1438   (https://github.com/rust-lang/rust/pull/33325).
1439 * [Do not suggest changing `&mut self` to `&mut mut self`]
1440   (https://github.com/rust-lang/rust/pull/33319).
1441
1442 Misc
1443 ----
1444
1445 * [Update i686-linux-android features to match Android ABI]
1446   (https://github.com/rust-lang/rust/pull/33651).
1447 * [Update aarch64-linux-android features to match Android ABI]
1448   (https://github.com/rust-lang/rust/pull/33500).
1449 * [`std` no longer prints backtraces on platforms where the running
1450   module must be loaded with `env::current_exe`, which can't be relied
1451   on](https://github.com/rust-lang/rust/pull/33554).
1452 * This release includes std binaries for the i586-unknown-linux-gnu,
1453   i686-unknown-linux-musl, and armv7-linux-androideabi targets. The
1454   i586 target is for old x86 hardware without SSE2, and the armv7
1455   target is for Android running on modern ARM architectures.
1456 * [The `rust-gdb` and `rust-lldb` scripts are distributed on all
1457   Unix platforms](https://github.com/rust-lang/rust/pull/32835).
1458 * [On Unix the runtime aborts by calling `libc::abort` instead of
1459   generating an illegal instruction]
1460   (https://github.com/rust-lang/rust/pull/31457).
1461 * [Rust is now bootstrapped from the previous release of Rust,
1462   instead of a snapshot from an arbitrary commit]
1463   (https://github.com/rust-lang/rust/pull/32942).
1464
1465 Compatibility Notes
1466 -------------------
1467
1468 * [`AtomicBool` is now bool-sized, not word-sized]
1469   (https://github.com/rust-lang/rust/pull/33579).
1470 * [`target_env` for Linux ARM targets is just `gnu`, not
1471   `gnueabihf`, `gnueabi`, etc]
1472   (https://github.com/rust-lang/rust/pull/33403).
1473 * [Consistently panic on overflow in `Duration::new`]
1474   (https://github.com/rust-lang/rust/pull/33072).
1475 * [Change `String::truncate` to panic less]
1476   (https://github.com/rust-lang/rust/pull/32977).
1477 * [Add `:block` to the follow set for `:ty` and `:path`]
1478   (https://github.com/rust-lang/rust/pull/32945).
1479   Affects how macros are parsed.
1480 * [Fix macro hygiene bug]
1481   (https://github.com/rust-lang/rust/pull/32923).
1482 * [Feature-gated attributes on macro-generated macro invocations are
1483   now rejected]
1484   (https://github.com/rust-lang/rust/pull/32791).
1485 * [Suppress fallback and ambiguity errors during type inference]
1486   (https://github.com/rust-lang/rust/pull/32258).
1487   This caused some minor changes to type inference.
1488
1489
1490 Version 1.9.0 (2016-05-26)
1491 ==========================
1492
1493 Language
1494 --------
1495
1496 * The `#[deprecated]` attribute when applied to an API will generate
1497   warnings when used. The warnings may be suppressed with
1498   `#[allow(deprecated)]`. [RFC 1270].
1499 * [`fn` item types are zero sized, and each `fn` names a unique
1500   type][1.9fn]. This will break code that transmutes `fn`s, so calling
1501   `transmute` on a `fn` type will generate a warning for a few cycles,
1502   then will be converted to an error.
1503 * [Field and method resolution understand visibility, so private
1504   fields and methods cannot prevent the proper use of public fields
1505   and methods][1.9fv].
1506 * [The parser considers unicode codepoints in the
1507   `PATTERN_WHITE_SPACE` category to be whitespace][1.9ws].
1508
1509 Stabilized APIs
1510 ---------------
1511
1512 * [`std::panic`]
1513 * [`std::panic::catch_unwind`][] (renamed from `recover`)
1514 * [`std::panic::resume_unwind`][] (renamed from `propagate`)
1515 * [`std::panic::AssertUnwindSafe`][] (renamed from `AssertRecoverSafe`)
1516 * [`std::panic::UnwindSafe`][] (renamed from `RecoverSafe`)
1517 * [`str::is_char_boundary`]
1518 * [`<*const T>::as_ref`]
1519 * [`<*mut T>::as_ref`]
1520 * [`<*mut T>::as_mut`]
1521 * [`AsciiExt::make_ascii_uppercase`]
1522 * [`AsciiExt::make_ascii_lowercase`]
1523 * [`char::decode_utf16`]
1524 * [`char::DecodeUtf16`]
1525 * [`char::DecodeUtf16Error`]
1526 * [`char::DecodeUtf16Error::unpaired_surrogate`]
1527 * [`BTreeSet::take`]
1528 * [`BTreeSet::replace`]
1529 * [`BTreeSet::get`]
1530 * [`HashSet::take`]
1531 * [`HashSet::replace`]
1532 * [`HashSet::get`]
1533 * [`OsString::with_capacity`]
1534 * [`OsString::clear`]
1535 * [`OsString::capacity`]
1536 * [`OsString::reserve`]
1537 * [`OsString::reserve_exact`]
1538 * [`OsStr::is_empty`]
1539 * [`OsStr::len`]
1540 * [`std::os::unix::thread`]
1541 * [`RawPthread`]
1542 * [`JoinHandleExt`]
1543 * [`JoinHandleExt::as_pthread_t`]
1544 * [`JoinHandleExt::into_pthread_t`]
1545 * [`HashSet::hasher`]
1546 * [`HashMap::hasher`]
1547 * [`CommandExt::exec`]
1548 * [`File::try_clone`]
1549 * [`SocketAddr::set_ip`]
1550 * [`SocketAddr::set_port`]
1551 * [`SocketAddrV4::set_ip`]
1552 * [`SocketAddrV4::set_port`]
1553 * [`SocketAddrV6::set_ip`]
1554 * [`SocketAddrV6::set_port`]
1555 * [`SocketAddrV6::set_flowinfo`]
1556 * [`SocketAddrV6::set_scope_id`]
1557 * [`slice::copy_from_slice`]
1558 * [`ptr::read_volatile`]
1559 * [`ptr::write_volatile`]
1560 * [`OpenOptions::create_new`]
1561 * [`TcpStream::set_nodelay`]
1562 * [`TcpStream::nodelay`]
1563 * [`TcpStream::set_ttl`]
1564 * [`TcpStream::ttl`]
1565 * [`TcpStream::set_only_v6`]
1566 * [`TcpStream::only_v6`]
1567 * [`TcpStream::take_error`]
1568 * [`TcpStream::set_nonblocking`]
1569 * [`TcpListener::set_ttl`]
1570 * [`TcpListener::ttl`]
1571 * [`TcpListener::set_only_v6`]
1572 * [`TcpListener::only_v6`]
1573 * [`TcpListener::take_error`]
1574 * [`TcpListener::set_nonblocking`]
1575 * [`UdpSocket::set_broadcast`]
1576 * [`UdpSocket::broadcast`]
1577 * [`UdpSocket::set_multicast_loop_v4`]
1578 * [`UdpSocket::multicast_loop_v4`]
1579 * [`UdpSocket::set_multicast_ttl_v4`]
1580 * [`UdpSocket::multicast_ttl_v4`]
1581 * [`UdpSocket::set_multicast_loop_v6`]
1582 * [`UdpSocket::multicast_loop_v6`]
1583 * [`UdpSocket::set_multicast_ttl_v6`]
1584 * [`UdpSocket::multicast_ttl_v6`]
1585 * [`UdpSocket::set_ttl`]
1586 * [`UdpSocket::ttl`]
1587 * [`UdpSocket::set_only_v6`]
1588 * [`UdpSocket::only_v6`]
1589 * [`UdpSocket::join_multicast_v4`]
1590 * [`UdpSocket::join_multicast_v6`]
1591 * [`UdpSocket::leave_multicast_v4`]
1592 * [`UdpSocket::leave_multicast_v6`]
1593 * [`UdpSocket::take_error`]
1594 * [`UdpSocket::connect`]
1595 * [`UdpSocket::send`]
1596 * [`UdpSocket::recv`]
1597 * [`UdpSocket::set_nonblocking`]
1598
1599 Libraries
1600 ---------
1601
1602 * [`std::sync::Once` is poisoned if its initialization function
1603   fails][1.9o].
1604 * [`cell::Ref` and `cell::RefMut` can contain unsized types][1.9cu].
1605 * [Most types implement `fmt::Debug`][1.9db].
1606 * [The default buffer size used by `BufReader` and `BufWriter` was
1607   reduced to 8K, from 64K][1.9bf]. This is in line with the buffer size
1608   used by other languages.
1609 * [`Instant`, `SystemTime` and `Duration` implement `+=` and `-=`.
1610   `Duration` additionally implements `*=` and `/=`][1.9ta].
1611 * [`Skip` is a `DoubleEndedIterator`][1.9sk].
1612 * [`From<[u8; 4]>` is implemented for `Ipv4Addr`][1.9fi].
1613 * [`Chain` implements `BufRead`][1.9ch].
1614 * [`HashMap`, `HashSet` and iterators are covariant][1.9hc].
1615
1616 Cargo
1617 -----
1618
1619 * [Cargo can now run concurrently][1.9cc].
1620 * [Top-level overrides allow specific revisions of crates to be
1621   overridden through the entire crate graph][1.9ct].  This is intended
1622   to make upgrades easier for large projects, by allowing crates to be
1623   forked temporarily until they've been upgraded and republished.
1624 * [Cargo exports a `CARGO_PKG_AUTHORS` environment variable][1.9cp].
1625 * [Cargo will pass the contents of the `RUSTFLAGS` variable to `rustc`
1626   on the commandline][1.9cf]. `rustc` arguments can also be specified
1627   in the `build.rustflags` configuration key.
1628
1629 Performance
1630 -----------
1631
1632 * [The time complexity of comparing variables for equivalence during type
1633   unification is reduced from _O_(_n_!) to _O_(_n_)][1.9tu]. This leads
1634   to major compilation time improvement in some scenarios.
1635 * [`ToString` is specialized for `str`, giving it the same performance
1636   as `to_owned`][1.9ts].
1637 * [Spawning processes with `Command::output` no longer creates extra
1638   threads][1.9sp].
1639 * [`#[derive(PartialEq)]` and `#[derive(PartialOrd)]` emit less code
1640   for C-like enums][1.9cl].
1641
1642 Misc
1643 ----
1644
1645 * [Passing the `--quiet` flag to a test runner will produce
1646   much-abbreviated output][1.9q].
1647 * The Rust Project now publishes std binaries for the
1648   `mips-unknown-linux-musl`, `mipsel-unknown-linux-musl`, and
1649   `i586-pc-windows-msvc` targets.
1650
1651 Compatibility Notes
1652 -------------------
1653
1654 * [`std::sync::Once` is poisoned if its initialization function
1655   fails][1.9o].
1656 * [It is illegal to define methods with the same name in overlapping
1657   inherent `impl` blocks][1.9sn].
1658 * [`fn` item types are zero sized, and each `fn` names a unique
1659   type][1.9fn]. This will break code that transmutes `fn`s, so calling
1660   `transmute` on a `fn` type will generate a warning for a few cycles,
1661   then will be converted to an error.
1662 * [Improvements to const evaluation may trigger new errors when integer
1663   literals are out of range][1.9ce].
1664
1665
1666 [1.9bf]: https://github.com/rust-lang/rust/pull/32695
1667 [1.9cc]: https://github.com/rust-lang/cargo/pull/2486
1668 [1.9ce]: https://github.com/rust-lang/rust/pull/30587
1669 [1.9cf]: https://github.com/rust-lang/cargo/pull/2241
1670 [1.9ch]: https://github.com/rust-lang/rust/pull/32541
1671 [1.9cl]: https://github.com/rust-lang/rust/pull/31977
1672 [1.9cp]: https://github.com/rust-lang/cargo/pull/2465
1673 [1.9ct]: https://github.com/rust-lang/cargo/pull/2385
1674 [1.9cu]: https://github.com/rust-lang/rust/pull/32652
1675 [1.9db]: https://github.com/rust-lang/rust/pull/32054
1676 [1.9fi]: https://github.com/rust-lang/rust/pull/32050
1677 [1.9fn]: https://github.com/rust-lang/rust/pull/31710
1678 [1.9fv]: https://github.com/rust-lang/rust/pull/31938
1679 [1.9hc]: https://github.com/rust-lang/rust/pull/32635
1680 [1.9o]: https://github.com/rust-lang/rust/pull/32325
1681 [1.9q]: https://github.com/rust-lang/rust/pull/31887
1682 [1.9sk]: https://github.com/rust-lang/rust/pull/31700
1683 [1.9sn]: https://github.com/rust-lang/rust/pull/31925
1684 [1.9sp]: https://github.com/rust-lang/rust/pull/31618
1685 [1.9ta]: https://github.com/rust-lang/rust/pull/32448
1686 [1.9ts]: https://github.com/rust-lang/rust/pull/32586
1687 [1.9tu]: https://github.com/rust-lang/rust/pull/32062
1688 [1.9ws]: https://github.com/rust-lang/rust/pull/29734
1689 [RFC 1270]: https://github.com/rust-lang/rfcs/blob/master/text/1270-deprecation.md
1690 [`<*const T>::as_ref`]: http://doc.rust-lang.org/nightly/std/primitive.pointer.html#method.as_ref
1691 [`<*mut T>::as_mut`]: http://doc.rust-lang.org/nightly/std/primitive.pointer.html#method.as_mut
1692 [`<*mut T>::as_ref`]: http://doc.rust-lang.org/nightly/std/primitive.pointer.html#method.as_ref
1693 [`slice::copy_from_slice`]: http://doc.rust-lang.org/nightly/std/primitive.slice.html#method.copy_from_slice
1694 [`AsciiExt::make_ascii_lowercase`]: http://doc.rust-lang.org/nightly/std/ascii/trait.AsciiExt.html#tymethod.make_ascii_lowercase
1695 [`AsciiExt::make_ascii_uppercase`]: http://doc.rust-lang.org/nightly/std/ascii/trait.AsciiExt.html#tymethod.make_ascii_uppercase
1696 [`BTreeSet::get`]: http://doc.rust-lang.org/nightly/collections/btree/set/struct.BTreeSet.html#method.get
1697 [`BTreeSet::replace`]: http://doc.rust-lang.org/nightly/collections/btree/set/struct.BTreeSet.html#method.replace
1698 [`BTreeSet::take`]: http://doc.rust-lang.org/nightly/collections/btree/set/struct.BTreeSet.html#method.take
1699 [`CommandExt::exec`]: http://doc.rust-lang.org/nightly/std/os/unix/process/trait.CommandExt.html#tymethod.exec
1700 [`File::try_clone`]: http://doc.rust-lang.org/nightly/std/fs/struct.File.html#method.try_clone
1701 [`HashMap::hasher`]: http://doc.rust-lang.org/nightly/std/collections/struct.HashMap.html#method.hasher
1702 [`HashSet::get`]: http://doc.rust-lang.org/nightly/std/collections/struct.HashSet.html#method.get
1703 [`HashSet::hasher`]: http://doc.rust-lang.org/nightly/std/collections/struct.HashSet.html#method.hasher
1704 [`HashSet::replace`]: http://doc.rust-lang.org/nightly/std/collections/struct.HashSet.html#method.replace
1705 [`HashSet::take`]: http://doc.rust-lang.org/nightly/std/collections/struct.HashSet.html#method.take
1706 [`JoinHandleExt::as_pthread_t`]: http://doc.rust-lang.org/nightly/std/os/unix/thread/trait.JoinHandleExt.html#tymethod.as_pthread_t
1707 [`JoinHandleExt::into_pthread_t`]: http://doc.rust-lang.org/nightly/std/os/unix/thread/trait.JoinHandleExt.html#tymethod.into_pthread_t
1708 [`JoinHandleExt`]: http://doc.rust-lang.org/nightly/std/os/unix/thread/trait.JoinHandleExt.html
1709 [`OpenOptions::create_new`]: http://doc.rust-lang.org/nightly/std/fs/struct.OpenOptions.html#method.create_new
1710 [`OsStr::is_empty`]: http://doc.rust-lang.org/nightly/std/ffi/struct.OsStr.html#method.is_empty
1711 [`OsStr::len`]: http://doc.rust-lang.org/nightly/std/ffi/struct.OsStr.html#method.len
1712 [`OsString::capacity`]: http://doc.rust-lang.org/nightly/std/ffi/struct.OsString.html#method.capacity
1713 [`OsString::clear`]: http://doc.rust-lang.org/nightly/std/ffi/struct.OsString.html#method.clear
1714 [`OsString::reserve_exact`]: http://doc.rust-lang.org/nightly/std/ffi/struct.OsString.html#method.reserve_exact
1715 [`OsString::reserve`]: http://doc.rust-lang.org/nightly/std/ffi/struct.OsString.html#method.reserve
1716 [`OsString::with_capacity`]: http://doc.rust-lang.org/nightly/std/ffi/struct.OsString.html#method.with_capacity
1717 [`RawPthread`]: http://doc.rust-lang.org/nightly/std/os/unix/thread/type.RawPthread.html
1718 [`SocketAddr::set_ip`]: http://doc.rust-lang.org/nightly/std/net/enum.SocketAddr.html#method.set_ip
1719 [`SocketAddr::set_port`]: http://doc.rust-lang.org/nightly/std/net/enum.SocketAddr.html#method.set_port
1720 [`SocketAddrV4::set_ip`]: http://doc.rust-lang.org/nightly/std/net/struct.SocketAddrV4.html#method.set_ip
1721 [`SocketAddrV4::set_port`]: http://doc.rust-lang.org/nightly/std/net/struct.SocketAddrV4.html#method.set_port
1722 [`SocketAddrV6::set_flowinfo`]: http://doc.rust-lang.org/nightly/std/net/struct.SocketAddrV6.html#method.set_flowinfo
1723 [`SocketAddrV6::set_ip`]: http://doc.rust-lang.org/nightly/std/net/struct.SocketAddrV6.html#method.set_ip
1724 [`SocketAddrV6::set_port`]: http://doc.rust-lang.org/nightly/std/net/struct.SocketAddrV6.html#method.set_port
1725 [`SocketAddrV6::set_scope_id`]: http://doc.rust-lang.org/nightly/std/net/struct.SocketAddrV6.html#method.set_scope_id
1726 [`TcpListener::only_v6`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.only_v6
1727 [`TcpListener::set_nonblocking`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.set_nonblocking
1728 [`TcpListener::set_only_v6`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.set_only_v6
1729 [`TcpListener::set_ttl`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.set_ttl
1730 [`TcpListener::take_error`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.take_error
1731 [`TcpListener::ttl`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.ttl
1732 [`TcpStream::nodelay`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.nodelay
1733 [`TcpStream::only_v6`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.only_v6
1734 [`TcpStream::set_nodelay`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.set_nodelay
1735 [`TcpStream::set_nonblocking`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.set_nonblocking
1736 [`TcpStream::set_only_v6`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.set_only_v6
1737 [`TcpStream::set_ttl`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.set_ttl
1738 [`TcpStream::take_error`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.take_error
1739 [`TcpStream::ttl`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.ttl
1740 [`UdpSocket::broadcast`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.broadcast
1741 [`UdpSocket::connect`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.connect
1742 [`UdpSocket::join_multicast_v4`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.join_multicast_v4
1743 [`UdpSocket::join_multicast_v6`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.join_multicast_v6
1744 [`UdpSocket::leave_multicast_v4`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.leave_multicast_v4
1745 [`UdpSocket::leave_multicast_v6`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.leave_multicast_v6
1746 [`UdpSocket::multicast_loop_v4`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.multicast_loop_v4
1747 [`UdpSocket::multicast_loop_v6`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.multicast_loop_v6
1748 [`UdpSocket::multicast_ttl_v4`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.multicast_ttl_v4
1749 [`UdpSocket::multicast_ttl_v6`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.multicast_ttl_v6
1750 [`UdpSocket::only_v6`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.only_v6
1751 [`UdpSocket::recv`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.recv
1752 [`UdpSocket::send`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.send
1753 [`UdpSocket::set_broadcast`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.set_broadcast
1754 [`UdpSocket::set_multicast_loop_v4`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.set_multicast_loop_v4
1755 [`UdpSocket::set_multicast_loop_v6`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.set_multicast_loop_v6
1756 [`UdpSocket::set_multicast_ttl_v4`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.set_multicast_ttl_v4
1757 [`UdpSocket::set_multicast_ttl_v6`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.set_multicast_ttl_v6
1758 [`UdpSocket::set_nonblocking`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.set_nonblocking
1759 [`UdpSocket::set_only_v6`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.set_only_v6
1760 [`UdpSocket::set_ttl`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.set_ttl
1761 [`UdpSocket::take_error`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.take_error
1762 [`UdpSocket::ttl`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.ttl
1763 [`char::DecodeUtf16Error::unpaired_surrogate`]: http://doc.rust-lang.org/nightly/std/char/struct.DecodeUtf16Error.html#method.unpaired_surrogate
1764 [`char::DecodeUtf16Error`]: http://doc.rust-lang.org/nightly/std/char/struct.DecodeUtf16Error.html
1765 [`char::DecodeUtf16`]: http://doc.rust-lang.org/nightly/std/char/struct.DecodeUtf16.html
1766 [`char::decode_utf16`]: http://doc.rust-lang.org/nightly/std/char/fn.decode_utf16.html
1767 [`ptr::read_volatile`]: http://doc.rust-lang.org/nightly/std/ptr/fn.read_volatile.html
1768 [`ptr::write_volatile`]: http://doc.rust-lang.org/nightly/std/ptr/fn.write_volatile.html
1769 [`std::os::unix::thread`]: http://doc.rust-lang.org/nightly/std/os/unix/thread/index.html
1770 [`std::panic::AssertUnwindSafe`]: http://doc.rust-lang.org/nightly/std/panic/struct.AssertUnwindSafe.html
1771 [`std::panic::UnwindSafe`]: http://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html
1772 [`std::panic::catch_unwind`]: http://doc.rust-lang.org/nightly/std/panic/fn.catch_unwind.html
1773 [`std::panic::resume_unwind`]: http://doc.rust-lang.org/nightly/std/panic/fn.resume_unwind.html
1774 [`std::panic`]: http://doc.rust-lang.org/nightly/std/panic/index.html
1775 [`str::is_char_boundary`]: http://doc.rust-lang.org/nightly/std/primitive.str.html#method.is_char_boundary
1776
1777
1778 Version 1.8.0 (2016-04-14)
1779 ==========================
1780
1781 Language
1782 --------
1783
1784 * Rust supports overloading of compound assignment statements like
1785   `+=` by implementing the [`AddAssign`], [`SubAssign`],
1786   [`MulAssign`], [`DivAssign`], [`RemAssign`], [`BitAndAssign`],
1787   [`BitOrAssign`], [`BitXorAssign`], [`ShlAssign`], or [`ShrAssign`]
1788   traits. [RFC 953].
1789 * Empty structs can be defined with braces, as in `struct Foo { }`, in
1790   addition to the non-braced form, `struct Foo;`. [RFC 218].
1791
1792 Libraries
1793 ---------
1794
1795 * Stabilized APIs:
1796   * [`str::encode_utf16`][] (renamed from `utf16_units`)
1797   * [`str::EncodeUtf16`][] (renamed from `Utf16Units`)
1798   * [`Ref::map`]
1799   * [`RefMut::map`]
1800   * [`ptr::drop_in_place`]
1801   * [`time::Instant`]
1802   * [`time::SystemTime`]
1803   * [`Instant::now`]
1804   * [`Instant::duration_since`][] (renamed from `duration_from_earlier`)
1805   * [`Instant::elapsed`]
1806   * [`SystemTime::now`]
1807   * [`SystemTime::duration_since`][] (renamed from `duration_from_earlier`)
1808   * [`SystemTime::elapsed`]
1809   * Various `Add`/`Sub` impls for `Time` and `SystemTime`
1810   * [`SystemTimeError`]
1811   * [`SystemTimeError::duration`]
1812   * Various impls for `SystemTimeError`
1813   * [`UNIX_EPOCH`]
1814   * [`AddAssign`], [`SubAssign`], [`MulAssign`], [`DivAssign`],
1815     [`RemAssign`], [`BitAndAssign`], [`BitOrAssign`],
1816     [`BitXorAssign`], [`ShlAssign`], [`ShrAssign`].
1817 * [The `write!` and `writeln!` macros correctly emit errors if any of
1818   their arguments can't be formatted][1.8w].
1819 * [Various I/O functions support large files on 32-bit Linux][1.8l].
1820 * [The Unix-specific `raw` modules, which contain a number of
1821   redefined C types are deprecated][1.8r], including `os::raw::unix`,
1822   `os::raw::macos`, and `os::raw::linux`. These modules defined types
1823   such as `ino_t` and `dev_t`. The inconsistency of these definitions
1824   across platforms was making it difficult to implement `std`
1825   correctly. Those that need these definitions should use the `libc`
1826   crate. [RFC 1415].
1827 * The Unix-specific `MetadataExt` traits, including
1828   `os::unix::fs::MetadataExt`, which expose values such as inode
1829   numbers [no longer return platform-specific types][1.8r], but
1830   instead return widened integers. [RFC 1415].
1831 * [`btree_set::{IntoIter, Iter, Range}` are covariant][1.8cv].
1832 * [Atomic loads and stores are not volatile][1.8a].
1833 * [All types in `sync::mpsc` implement `fmt::Debug`][1.8mp].
1834
1835 Performance
1836 -----------
1837
1838 * [Inlining hash functions lead to a 3% compile-time improvement in
1839   some workloads][1.8h].
1840 * When using jemalloc, its symbols are [unprefixed so that it
1841   overrides the libc malloc implementation][1.8h]. This means that for
1842   rustc, LLVM is now using jemalloc, which results in a 6%
1843   compile-time improvement on a specific workload.
1844 * [Avoid quadratic growth in function size due to cleanups][1.8cu].
1845
1846 Misc
1847 ----
1848
1849 * [32-bit MSVC builds finally implement unwinding][1.8ms].
1850   i686-pc-windows-msvc is now considered a tier-1 platform.
1851 * [The `--print targets` flag prints a list of supported targets][1.8t].
1852 * [The `--print cfg` flag prints the `cfg`s defined for the current
1853   target][1.8cf].
1854 * [`rustc` can be built with an new Cargo-based build system, written
1855   in Rust][1.8b].  It will eventually replace Rust's Makefile-based
1856   build system. To enable it configure with `configure --rustbuild`.
1857 * [Errors for non-exhaustive `match` patterns now list up to 3 missing
1858   variants while also indicating the total number of missing variants
1859   if more than 3][1.8m].
1860 * [Executable stacks are disabled on Linux and BSD][1.8nx].
1861 * The Rust Project now publishes binary releases of the standard
1862   library for a number of tier-2 targets:
1863   `armv7-unknown-linux-gnueabihf`, `powerpc-unknown-linux-gnu`,
1864   `powerpc64-unknown-linux-gnu`, `powerpc64le-unknown-linux-gnu`
1865   `x86_64-rumprun-netbsd`. These can be installed with
1866   tools such as [multirust][1.8mr].
1867
1868 Cargo
1869 -----
1870
1871 * [`cargo init` creates a new Cargo project in the current
1872   directory][1.8ci].  It is otherwise like `cargo new`.
1873 * [Cargo has configuration keys for `-v` and
1874   `--color`][1.8cc]. `verbose` and `color`, respectively, go in the
1875   `[term]` section of `.cargo/config`.
1876 * [Configuration keys that evaluate to strings or integers can be set
1877   via environment variables][1.8ce]. For example the `build.jobs` key
1878   can be set via `CARGO_BUILD_JOBS`. Environment variables take
1879   precedence over config files.
1880 * [Target-specific dependencies support Rust `cfg` syntax for
1881   describing targets][1.8cfg] so that dependencies for multiple
1882   targets can be specified together. [RFC 1361].
1883 * [The environment variables `CARGO_TARGET_ROOT`, `RUSTC`, and
1884   `RUSTDOC` take precedence over the `build.target-dir`,
1885   `build.rustc`, and `build.rustdoc` configuration values][1.8cv].
1886 * [The child process tree is killed on Windows when Cargo is
1887   killed][1.8ck].
1888 * [The `build.target` configuration value sets the target platform,
1889   like `--target`][1.8ct].
1890
1891 Compatibility Notes
1892 -------------------
1893
1894 * [Unstable compiler flags have been further restricted][1.8u]. Since
1895   1.0 `-Z` flags have been considered unstable, and other flags that
1896   were considered unstable additionally required passing `-Z
1897   unstable-options` to access. Unlike unstable language and library
1898   features though, these options have been accessible on the stable
1899   release channel. Going forward, *new unstable flags will not be
1900   available on the stable release channel*, and old unstable flags
1901   will warn about their usage. In the future, all unstable flags will
1902   be unavailable on the stable release channel.
1903 * [It is no longer possible to `match` on empty enum variants using
1904   the `Variant(..)` syntax][1.8v]. This has been a warning since 1.6.
1905 * The Unix-specific `MetadataExt` traits, including
1906   `os::unix::fs::MetadataExt`, which expose values such as inode
1907   numbers [no longer return platform-specific types][1.8r], but
1908   instead return widened integers. [RFC 1415].
1909 * [Modules sourced from the filesystem cannot appear within arbitrary
1910   blocks, but only within other modules][1.8mf].
1911 * [`--cfg` compiler flags are parsed strictly as identifiers][1.8c].
1912 * On Unix, [stack overflow triggers a runtime abort instead of a
1913   SIGSEGV][1.8so].
1914 * [`Command::spawn` and its equivalents return an error if any of
1915   its command-line arguments contain interior `NUL`s][1.8n].
1916 * [Tuple and unit enum variants from other crates are in the type
1917   namespace][1.8tn].
1918 * [On Windows `rustc` emits `.lib` files for the `staticlib` library
1919   type instead of `.a` files][1.8st]. Additionally, for the MSVC
1920   toolchain, `rustc` emits import libraries named `foo.dll.lib`
1921   instead of `foo.lib`.
1922
1923
1924 [1.8a]: https://github.com/rust-lang/rust/pull/30962
1925 [1.8b]: https://github.com/rust-lang/rust/pull/31123
1926 [1.8c]: https://github.com/rust-lang/rust/pull/31530
1927 [1.8cc]: https://github.com/rust-lang/cargo/pull/2397
1928 [1.8ce]: https://github.com/rust-lang/cargo/pull/2398
1929 [1.8cf]: https://github.com/rust-lang/rust/pull/31278
1930 [1.8cfg]: https://github.com/rust-lang/cargo/pull/2328
1931 [1.8ci]: https://github.com/rust-lang/cargo/pull/2081
1932 [1.8ck]: https://github.com/rust-lang/cargo/pull/2370
1933 [1.8ct]: https://github.com/rust-lang/cargo/pull/2335
1934 [1.8cu]: https://github.com/rust-lang/rust/pull/31390
1935 [1.8cv]: https://github.com/rust-lang/cargo/issues/2365
1936 [1.8cv]: https://github.com/rust-lang/rust/pull/30998
1937 [1.8h]: https://github.com/rust-lang/rust/pull/31460
1938 [1.8l]: https://github.com/rust-lang/rust/pull/31668
1939 [1.8m]: https://github.com/rust-lang/rust/pull/31020
1940 [1.8mf]: https://github.com/rust-lang/rust/pull/31534
1941 [1.8mp]: https://github.com/rust-lang/rust/pull/30894
1942 [1.8mr]: https://users.rust-lang.org/t/multirust-0-8-with-cross-std-installation/4901
1943 [1.8ms]: https://github.com/rust-lang/rust/pull/30448
1944 [1.8n]: https://github.com/rust-lang/rust/pull/31056
1945 [1.8nx]: https://github.com/rust-lang/rust/pull/30859
1946 [1.8r]: https://github.com/rust-lang/rust/pull/31551
1947 [1.8so]: https://github.com/rust-lang/rust/pull/31333
1948 [1.8st]: https://github.com/rust-lang/rust/pull/29520
1949 [1.8t]: https://github.com/rust-lang/rust/pull/31358
1950 [1.8tn]: https://github.com/rust-lang/rust/pull/30882
1951 [1.8u]: https://github.com/rust-lang/rust/pull/31793
1952 [1.8v]: https://github.com/rust-lang/rust/pull/31757
1953 [1.8w]: https://github.com/rust-lang/rust/pull/31904
1954 [RFC 1361]: https://github.com/rust-lang/rfcs/blob/master/text/1361-cargo-cfg-dependencies.md
1955 [RFC 1415]: https://github.com/rust-lang/rfcs/blob/master/text/1415-trim-std-os.md
1956 [RFC 218]: https://github.com/rust-lang/rfcs/blob/master/text/0218-empty-struct-with-braces.md
1957 [RFC 953]: https://github.com/rust-lang/rfcs/blob/master/text/0953-op-assign.md
1958 [`AddAssign`]: http://doc.rust-lang.org/nightly/std/ops/trait.AddAssign.html
1959 [`BitAndAssign`]: http://doc.rust-lang.org/nightly/std/ops/trait.BitAndAssign.html
1960 [`BitOrAssign`]: http://doc.rust-lang.org/nightly/std/ops/trait.BitOrAssign.html
1961 [`BitXorAssign`]: http://doc.rust-lang.org/nightly/std/ops/trait.BitXorAssign.html
1962 [`DivAssign`]: http://doc.rust-lang.org/nightly/std/ops/trait.DivAssign.html
1963 [`Instant::duration_since`]: http://doc.rust-lang.org/nightly/std/time/struct.Instant.html#method.duration_since
1964 [`Instant::elapsed`]: http://doc.rust-lang.org/nightly/std/time/struct.Instant.html#method.elapsed
1965 [`Instant::now`]: http://doc.rust-lang.org/nightly/std/time/struct.Instant.html#method.now
1966 [`MulAssign`]: http://doc.rust-lang.org/nightly/std/ops/trait.MulAssign.html
1967 [`Ref::map`]: http://doc.rust-lang.org/nightly/std/cell/struct.Ref.html#method.map
1968 [`RefMut::map`]: http://doc.rust-lang.org/nightly/std/cell/struct.RefMut.html#method.map
1969 [`RemAssign`]: http://doc.rust-lang.org/nightly/std/ops/trait.RemAssign.html
1970 [`ShlAssign`]: http://doc.rust-lang.org/nightly/std/ops/trait.ShlAssign.html
1971 [`ShrAssign`]: http://doc.rust-lang.org/nightly/std/ops/trait.ShrAssign.html
1972 [`SubAssign`]: http://doc.rust-lang.org/nightly/std/ops/trait.SubAssign.html
1973 [`SystemTime::duration_since`]: http://doc.rust-lang.org/nightly/std/time/struct.SystemTime.html#method.duration_since
1974 [`SystemTime::elapsed`]: http://doc.rust-lang.org/nightly/std/time/struct.SystemTime.html#method.elapsed
1975 [`SystemTime::now`]: http://doc.rust-lang.org/nightly/std/time/struct.SystemTime.html#method.now
1976 [`SystemTimeError::duration`]: http://doc.rust-lang.org/nightly/std/time/struct.SystemTimeError.html#method.duration
1977 [`SystemTimeError`]: http://doc.rust-lang.org/nightly/std/time/struct.SystemTimeError.html
1978 [`UNIX_EPOCH`]: http://doc.rust-lang.org/nightly/std/time/constant.UNIX_EPOCH.html
1979 [`ptr::drop_in_place`]: http://doc.rust-lang.org/nightly/std/ptr/fn.drop_in_place.html
1980 [`str::EncodeUtf16`]: http://doc.rust-lang.org/nightly/std/str/struct.EncodeUtf16.html
1981 [`str::encode_utf16`]: http://doc.rust-lang.org/nightly/std/primitive.str.html#method.encode_utf16
1982 [`time::Instant`]: http://doc.rust-lang.org/nightly/std/time/struct.Instant.html
1983 [`time::SystemTime`]: http://doc.rust-lang.org/nightly/std/time/struct.SystemTime.html
1984
1985
1986 Version 1.7.0 (2016-03-03)
1987 ==========================
1988
1989 Libraries
1990 ---------
1991
1992 * Stabilized APIs
1993   * `Path`
1994     * [`Path::strip_prefix`][] (renamed from relative_from)
1995     * [`path::StripPrefixError`][] (new error type returned from strip_prefix)
1996   * `Ipv4Addr`
1997     * [`Ipv4Addr::is_loopback`]
1998     * [`Ipv4Addr::is_private`]
1999     * [`Ipv4Addr::is_link_local`]
2000     * [`Ipv4Addr::is_multicast`]
2001     * [`Ipv4Addr::is_broadcast`]
2002     * [`Ipv4Addr::is_documentation`]
2003   * `Ipv6Addr`
2004     * [`Ipv6Addr::is_unspecified`]
2005     * [`Ipv6Addr::is_loopback`]
2006     * [`Ipv6Addr::is_multicast`]
2007   * `Vec`
2008     * [`Vec::as_slice`]
2009     * [`Vec::as_mut_slice`]
2010   * `String`
2011     * [`String::as_str`]
2012     * [`String::as_mut_str`]
2013   * Slices
2014     * `<[T]>::`[`clone_from_slice`], which now requires the two slices to
2015     be the same length
2016     * `<[T]>::`[`sort_by_key`]
2017   * checked, saturated, and overflowing operations
2018     * [`i32::checked_rem`], [`i32::checked_neg`], [`i32::checked_shl`], [`i32::checked_shr`]
2019     * [`i32::saturating_mul`]
2020     * [`i32::overflowing_add`], [`i32::overflowing_sub`], [`i32::overflowing_mul`], [`i32::overflowing_div`]
2021     * [`i32::overflowing_rem`], [`i32::overflowing_neg`], [`i32::overflowing_shl`], [`i32::overflowing_shr`]
2022     * [`u32::checked_rem`], [`u32::checked_neg`], [`u32::checked_shl`], [`u32::checked_shl`]
2023     * [`u32::saturating_mul`]
2024     * [`u32::overflowing_add`], [`u32::overflowing_sub`], [`u32::overflowing_mul`], [`u32::overflowing_div`]
2025     * [`u32::overflowing_rem`], [`u32::overflowing_neg`], [`u32::overflowing_shl`], [`u32::overflowing_shr`]
2026     * and checked, saturated, and overflowing operations for other primitive types
2027   * FFI
2028     * [`ffi::IntoStringError`]
2029     * [`CString::into_string`]
2030     * [`CString::into_bytes`]
2031     * [`CString::into_bytes_with_nul`]
2032     * `From<CString> for Vec<u8>`
2033   * `IntoStringError`
2034     * [`IntoStringError::into_cstring`]
2035     * [`IntoStringError::utf8_error`]
2036     * `Error for IntoStringError`
2037   * Hashing
2038     * [`std::hash::BuildHasher`]
2039     * [`BuildHasher::Hasher`]
2040     * [`BuildHasher::build_hasher`]
2041     * [`std::hash::BuildHasherDefault`]
2042     * [`HashMap::with_hasher`]
2043     * [`HashMap::with_capacity_and_hasher`]
2044     * [`HashSet::with_hasher`]
2045     * [`HashSet::with_capacity_and_hasher`]
2046     * [`std::collections::hash_map::RandomState`]
2047     * [`RandomState::new`]
2048 * [Validating UTF-8 is faster by a factor of between 7 and 14x for
2049   ASCII input][1.7utf8]. This means that creating `String`s and `str`s
2050   from bytes is faster.
2051 * [The performance of `LineWriter` (and thus `io::stdout`) was
2052   improved by using `memchr` to search for newlines][1.7m].
2053 * [`f32::to_degrees` and `f32::to_radians` are stable][1.7f]. The
2054   `f64` variants were stabilized previously.
2055 * [`BTreeMap` was rewritten to use less memory and improve the performance
2056   of insertion and iteration, the latter by as much as 5x][1.7bm].
2057 * [`BTreeSet` and its iterators, `Iter`, `IntoIter`, and `Range` are
2058   covariant over their contained type][1.7bt].
2059 * [`LinkedList` and its iterators, `Iter` and `IntoIter` are covariant
2060   over their contained type][1.7ll].
2061 * [`str::replace` now accepts a `Pattern`][1.7rp], like other string
2062   searching methods.
2063 * [`Any` is implemented for unsized types][1.7a].
2064 * [`Hash` is implemented for `Duration`][1.7h].
2065
2066 Misc
2067 ----
2068
2069 * [When running tests with `--test`, rustdoc will pass `--cfg`
2070   arguments to the compiler][1.7dt].
2071 * [The compiler is built with RPATH information by default][1.7rpa].
2072   This means that it will be possible to run `rustc` when installed in
2073   unusual configurations without configuring the dynamic linker search
2074   path explicitly.
2075 * [`rustc` passes `--enable-new-dtags` to GNU ld][1.7dta]. This makes
2076   any RPATH entries (emitted with `-C rpath`) *not* take precedence
2077   over `LD_LIBRARY_PATH`.
2078
2079 Cargo
2080 -----
2081
2082 * [`cargo rustc` accepts a `--profile` flag that runs `rustc` under
2083   any of the compilation profiles, 'dev', 'bench', or 'test'][1.7cp].
2084 * [The `rerun-if-changed` build script directive no longer causes the
2085   build script to incorrectly run twice in certain scenarios][1.7rr].
2086
2087 Compatibility Notes
2088 -------------------
2089
2090 * Soundness fixes to the interactions between associated types and
2091   lifetimes, specified in [RFC 1214], [now generate errors][1.7sf] for
2092   code that violates the new rules. This is a significant change that
2093   is known to break existing code, so it has emitted warnings for the
2094   new error cases since 1.4 to give crate authors time to adapt. The
2095   details of what is changing are subtle; read the RFC for more.
2096 * [Several bugs in the compiler's visibility calculations were
2097   fixed][1.7v]. Since this was found to break significant amounts of
2098   code, the new errors will be emitted as warnings for several release
2099   cycles, under the `private_in_public` lint.
2100 * Defaulted type parameters were accidentally accepted in positions
2101   that were not intended. In this release, [defaulted type parameters
2102   appearing outside of type definitions will generate a
2103   warning][1.7d], which will become an error in future releases.
2104 * [Parsing "." as a float results in an error instead of 0][1.7p].
2105   That is, `".".parse::<f32>()` returns `Err`, not `Ok(0.0)`.
2106 * [Borrows of closure parameters may not outlive the closure][1.7bc].
2107
2108 [1.7a]: https://github.com/rust-lang/rust/pull/30928
2109 [1.7bc]: https://github.com/rust-lang/rust/pull/30341
2110 [1.7bm]: https://github.com/rust-lang/rust/pull/30426
2111 [1.7bt]: https://github.com/rust-lang/rust/pull/30998
2112 [1.7cp]: https://github.com/rust-lang/cargo/pull/2224
2113 [1.7d]: https://github.com/rust-lang/rust/pull/30724
2114 [1.7dt]: https://github.com/rust-lang/rust/pull/30372
2115 [1.7dta]: https://github.com/rust-lang/rust/pull/30394
2116 [1.7f]: https://github.com/rust-lang/rust/pull/30672
2117 [1.7h]: https://github.com/rust-lang/rust/pull/30818
2118 [1.7ll]: https://github.com/rust-lang/rust/pull/30663
2119 [1.7m]: https://github.com/rust-lang/rust/pull/30381
2120 [1.7p]: https://github.com/rust-lang/rust/pull/30681
2121 [1.7rp]: https://github.com/rust-lang/rust/pull/29498
2122 [1.7rpa]: https://github.com/rust-lang/rust/pull/30353
2123 [1.7rr]: https://github.com/rust-lang/cargo/pull/2279
2124 [1.7sf]: https://github.com/rust-lang/rust/pull/30389
2125 [1.7utf8]: https://github.com/rust-lang/rust/pull/30740
2126 [1.7v]: https://github.com/rust-lang/rust/pull/29973
2127 [RFC 1214]: https://github.com/rust-lang/rfcs/blob/master/text/1214-projections-lifetimes-and-wf.md
2128 [`BuildHasher::Hasher`]: http://doc.rust-lang.org/nightly/std/hash/trait.Hasher.html
2129 [`BuildHasher::build_hasher`]: http://doc.rust-lang.org/nightly/std/hash/trait.BuildHasher.html#tymethod.build_hasher
2130 [`CString::into_bytes_with_nul`]: http://doc.rust-lang.org/nightly/std/ffi/struct.CString.html#method.into_bytes_with_nul
2131 [`CString::into_bytes`]: http://doc.rust-lang.org/nightly/std/ffi/struct.CString.html#method.into_bytes
2132 [`CString::into_string`]: http://doc.rust-lang.org/nightly/std/ffi/struct.CString.html#method.into_string
2133 [`HashMap::with_capacity_and_hasher`]: http://doc.rust-lang.org/nightly/std/collections/struct.HashMap.html#method.with_capacity_and_hasher
2134 [`HashMap::with_hasher`]: http://doc.rust-lang.org/nightly/std/collections/struct.HashMap.html#method.with_hasher
2135 [`HashSet::with_capacity_and_hasher`]: http://doc.rust-lang.org/nightly/std/collections/struct.HashSet.html#method.with_capacity_and_hasher
2136 [`HashSet::with_hasher`]: http://doc.rust-lang.org/nightly/std/collections/struct.HashSet.html#method.with_hasher
2137 [`IntoStringError::into_cstring`]: http://doc.rust-lang.org/nightly/std/ffi/struct.IntoStringError.html#method.into_cstring
2138 [`IntoStringError::utf8_error`]: http://doc.rust-lang.org/nightly/std/ffi/struct.IntoStringError.html#method.utf8_error
2139 [`Ipv4Addr::is_broadcast`]: http://doc.rust-lang.org/nightly/std/net/struct.Ipv4Addr.html#method.is_broadcast
2140 [`Ipv4Addr::is_documentation`]: http://doc.rust-lang.org/nightly/std/net/struct.Ipv4Addr.html#method.is_documentation
2141 [`Ipv4Addr::is_link_local`]: http://doc.rust-lang.org/nightly/std/net/struct.Ipv4Addr.html#method.is_link_local
2142 [`Ipv4Addr::is_loopback`]: http://doc.rust-lang.org/nightly/std/net/struct.Ipv4Addr.html#method.is_loopback
2143 [`Ipv4Addr::is_multicast`]: http://doc.rust-lang.org/nightly/std/net/struct.Ipv4Addr.html#method.is_multicast
2144 [`Ipv4Addr::is_private`]: http://doc.rust-lang.org/nightly/std/net/struct.Ipv4Addr.html#method.is_private
2145 [`Ipv6Addr::is_loopback`]: http://doc.rust-lang.org/nightly/std/net/struct.Ipv6Addr.html#method.is_loopback
2146 [`Ipv6Addr::is_multicast`]: http://doc.rust-lang.org/nightly/std/net/struct.Ipv6Addr.html#method.is_multicast
2147 [`Ipv6Addr::is_unspecified`]: http://doc.rust-lang.org/nightly/std/net/struct.Ipv6Addr.html#method.is_unspecified
2148 [`Path::strip_prefix`]: http://doc.rust-lang.org/nightly/std/path/struct.Path.html#method.strip_prefix
2149 [`RandomState::new`]: http://doc.rust-lang.org/nightly/std/collections/hash_map/struct.RandomState.html#method.new
2150 [`String::as_mut_str`]: http://doc.rust-lang.org/nightly/std/string/struct.String.html#method.as_mut_str
2151 [`String::as_str`]: http://doc.rust-lang.org/nightly/std/string/struct.String.html#method.as_str
2152 [`Vec::as_mut_slice`]: http://doc.rust-lang.org/nightly/std/vec/struct.Vec.html#method.as_mut_slice
2153 [`Vec::as_slice`]: http://doc.rust-lang.org/nightly/std/vec/struct.Vec.html#method.as_slice
2154 [`clone_from_slice`]: http://doc.rust-lang.org/nightly/std/primitive.slice.html#method.clone_from_slice
2155 [`ffi::IntoStringError`]: http://doc.rust-lang.org/nightly/std/ffi/struct.IntoStringError.html
2156 [`i32::checked_neg`]: http://doc.rust-lang.org/nightly/std/primitive.i32.html#method.checked_neg
2157 [`i32::checked_rem`]: http://doc.rust-lang.org/nightly/std/primitive.i32.html#method.checked_rem
2158 [`i32::checked_shl`]: http://doc.rust-lang.org/nightly/std/primitive.i32.html#method.checked_shl
2159 [`i32::checked_shr`]: http://doc.rust-lang.org/nightly/std/primitive.i32.html#method.checked_shr
2160 [`i32::overflowing_add`]: http://doc.rust-lang.org/nightly/std/primitive.i32.html#method.overflowing_add
2161 [`i32::overflowing_div`]: http://doc.rust-lang.org/nightly/std/primitive.i32.html#method.overflowing_div
2162 [`i32::overflowing_mul`]: http://doc.rust-lang.org/nightly/std/primitive.i32.html#method.overflowing_mul
2163 [`i32::overflowing_neg`]: http://doc.rust-lang.org/nightly/std/primitive.i32.html#method.overflowing_neg
2164 [`i32::overflowing_rem`]: http://doc.rust-lang.org/nightly/std/primitive.i32.html#method.overflowing_rem
2165 [`i32::overflowing_shl`]: http://doc.rust-lang.org/nightly/std/primitive.i32.html#method.overflowing_shl
2166 [`i32::overflowing_shr`]: http://doc.rust-lang.org/nightly/std/primitive.i32.html#method.overflowing_shr
2167 [`i32::overflowing_sub`]: http://doc.rust-lang.org/nightly/std/primitive.i32.html#method.overflowing_sub
2168 [`i32::saturating_mul`]: http://doc.rust-lang.org/nightly/std/primitive.i32.html#method.saturating_mul
2169 [`path::StripPrefixError`]: http://doc.rust-lang.org/nightly/std/path/struct.StripPrefixError.html
2170 [`sort_by_key`]: http://doc.rust-lang.org/nightly/std/primitive.slice.html#method.sort_by_key
2171 [`std::collections::hash_map::RandomState`]: http://doc.rust-lang.org/nightly/std/collections/hash_map/struct.RandomState.html
2172 [`std::hash::BuildHasherDefault`]: http://doc.rust-lang.org/nightly/std/hash/struct.BuildHasherDefault.html
2173 [`std::hash::BuildHasher`]: http://doc.rust-lang.org/nightly/std/hash/trait.BuildHasher.html
2174 [`u32::checked_neg`]: http://doc.rust-lang.org/nightly/std/primitive.u32.html#method.checked_neg
2175 [`u32::checked_rem`]: http://doc.rust-lang.org/nightly/std/primitive.u32.html#method.checked_rem
2176 [`u32::checked_neg`]: http://doc.rust-lang.org/nightly/std/primitive.u32.html#method.checked_neg
2177 [`u32::checked_shl`]: http://doc.rust-lang.org/nightly/std/primitive.u32.html#method.checked_shl
2178 [`u32::overflowing_add`]: http://doc.rust-lang.org/nightly/std/primitive.u32.html#method.overflowing_add
2179 [`u32::overflowing_div`]: http://doc.rust-lang.org/nightly/std/primitive.u32.html#method.overflowing_div
2180 [`u32::overflowing_mul`]: http://doc.rust-lang.org/nightly/std/primitive.u32.html#method.overflowing_mul
2181 [`u32::overflowing_neg`]: http://doc.rust-lang.org/nightly/std/primitive.u32.html#method.overflowing_neg
2182 [`u32::overflowing_rem`]: http://doc.rust-lang.org/nightly/std/primitive.u32.html#method.overflowing_rem
2183 [`u32::overflowing_shl`]: http://doc.rust-lang.org/nightly/std/primitive.u32.html#method.overflowing_shl
2184 [`u32::overflowing_shr`]: http://doc.rust-lang.org/nightly/std/primitive.u32.html#method.overflowing_shr
2185 [`u32::overflowing_sub`]: http://doc.rust-lang.org/nightly/std/primitive.u32.html#method.overflowing_sub
2186 [`u32::saturating_mul`]: http://doc.rust-lang.org/nightly/std/primitive.u32.html#method.saturating_mul
2187
2188
2189 Version 1.6.0 (2016-01-21)
2190 ==========================
2191
2192 Language
2193 --------
2194
2195 * The `#![no_std]` attribute causes a crate to not be linked to the
2196   standard library, but only the [core library][1.6co], as described
2197   in [RFC 1184]. The core library defines common types and traits but
2198   has no platform dependencies whatsoever, and is the basis for Rust
2199   software in environments that cannot support a full port of the
2200   standard library, such as operating systems. Most of the core
2201   library is now stable.
2202
2203 Libraries
2204 ---------
2205
2206 * Stabilized APIs:
2207   [`Read::read_exact`],
2208   [`ErrorKind::UnexpectedEof`][] (renamed from `UnexpectedEOF`),
2209   [`fs::DirBuilder`], [`fs::DirBuilder::new`],
2210   [`fs::DirBuilder::recursive`], [`fs::DirBuilder::create`],
2211   [`os::unix::fs::DirBuilderExt`],
2212   [`os::unix::fs::DirBuilderExt::mode`], [`vec::Drain`],
2213   [`vec::Vec::drain`], [`string::Drain`], [`string::String::drain`],
2214   [`vec_deque::Drain`], [`vec_deque::VecDeque::drain`],
2215   [`collections::hash_map::Drain`],
2216   [`collections::hash_map::HashMap::drain`],
2217   [`collections::hash_set::Drain`],
2218   [`collections::hash_set::HashSet::drain`],
2219   [`collections::binary_heap::Drain`],
2220   [`collections::binary_heap::BinaryHeap::drain`],
2221   [`Vec::extend_from_slice`][] (renamed from `push_all`),
2222   [`Mutex::get_mut`], [`Mutex::into_inner`], [`RwLock::get_mut`],
2223   [`RwLock::into_inner`],
2224   [`Iterator::min_by_key`][] (renamed from `min_by`),
2225   [`Iterator::max_by_key`][] (renamed from `max_by`).
2226 * The [core library][1.6co] is stable, as are most of its APIs.
2227 * [The `assert_eq!` macro supports arguments that don't implement
2228   `Sized`][1.6ae], such as arrays. In this way it behaves more like
2229   `assert!`.
2230 * Several timer functions that take duration in milliseconds [are
2231   deprecated in favor of those that take `Duration`][1.6ms]. These
2232   include `Condvar::wait_timeout_ms`, `thread::sleep_ms`, and
2233   `thread::park_timeout_ms`.
2234 * The algorithm by which `Vec` reserves additional elements was
2235   [tweaked to not allocate excessive space][1.6a] while still growing
2236   exponentially.
2237 * `From` conversions are [implemented from integers to floats][1.6f]
2238   in cases where the conversion is lossless. Thus they are not
2239   implemented for 32-bit ints to `f32`, nor for 64-bit ints to `f32`
2240   or `f64`. They are also not implemented for `isize` and `usize`
2241   because the implementations would be platform-specific. `From` is
2242   also implemented from `f32` to `f64`.
2243 * `From<&Path>` and `From<PathBuf>` are implemented for `Cow<Path>`.
2244 * `From<T>` is implemented for `Box<T>`, `Rc<T>` and `Arc<T>`.
2245 * `IntoIterator` is implemented for `&PathBuf` and `&Path`.
2246 * [`BinaryHeap` was refactored][1.6bh] for modest performance
2247   improvements.
2248 * Sorting slices that are already sorted [is 50% faster in some
2249   cases][1.6s].
2250
2251 Cargo
2252 -----
2253
2254 * Cargo will look in `$CARGO_HOME/bin` for subcommands [by default][1.6c].
2255 * Cargo build scripts can specify their dependencies by emitting the
2256   [`rerun-if-changed`][1.6rr] key.
2257 * crates.io will reject publication of crates with dependencies that
2258   have a wildcard version constraint. Crates with wildcard
2259   dependencies were seen to cause a variety of problems, as described
2260   in [RFC 1241]. Since 1.5 publication of such crates has emitted a
2261   warning.
2262 * `cargo clean` [accepts a `--release` flag][1.6cc] to clean the
2263   release folder.  A variety of artifacts that Cargo failed to clean
2264   are now correctly deleted.
2265
2266 Misc
2267 ----
2268
2269 * The `unreachable_code` lint [warns when a function call's argument
2270   diverges][1.6dv].
2271 * The parser indicates [failures that may be caused by
2272   confusingly-similar Unicode characters][1.6uc]
2273 * Certain macro errors [are reported at definition time][1.6m], not
2274   expansion.
2275
2276 Compatibility Notes
2277 -------------------
2278
2279 * The compiler no longer makes use of the [`RUST_PATH`][1.6rp]
2280   environment variable when locating crates. This was a pre-cargo
2281   feature for integrating with the package manager that was
2282   accidentally never removed.
2283 * [A number of bugs were fixed in the privacy checker][1.6p] that
2284   could cause previously-accepted code to break.
2285 * [Modules and unit/tuple structs may not share the same name][1.6ts].
2286 * [Bugs in pattern matching unit structs were fixed][1.6us]. The tuple
2287   struct pattern syntax (`Foo(..)`) can no longer be used to match
2288   unit structs. This is a warning now, but will become an error in
2289   future releases. Patterns that share the same name as a const are
2290   now an error.
2291 * A bug was fixed that causes [rustc not to apply default type
2292   parameters][1.6xc] when resolving certain method implementations of
2293   traits defined in other crates.
2294
2295 [1.6a]: https://github.com/rust-lang/rust/pull/29454
2296 [1.6ae]: https://github.com/rust-lang/rust/pull/29770
2297 [1.6bh]: https://github.com/rust-lang/rust/pull/29811
2298 [1.6c]: https://github.com/rust-lang/cargo/pull/2192
2299 [1.6cc]: https://github.com/rust-lang/cargo/pull/2131
2300 [1.6co]: http://doc.rust-lang.org/beta/core/index.html
2301 [1.6dv]: https://github.com/rust-lang/rust/pull/30000
2302 [1.6f]: https://github.com/rust-lang/rust/pull/29129
2303 [1.6m]: https://github.com/rust-lang/rust/pull/29828
2304 [1.6ms]: https://github.com/rust-lang/rust/pull/29604
2305 [1.6p]: https://github.com/rust-lang/rust/pull/29726
2306 [1.6rp]: https://github.com/rust-lang/rust/pull/30034
2307 [1.6rr]: https://github.com/rust-lang/cargo/pull/2134
2308 [1.6s]: https://github.com/rust-lang/rust/pull/29675
2309 [1.6ts]: https://github.com/rust-lang/rust/issues/21546
2310 [1.6uc]: https://github.com/rust-lang/rust/pull/29837
2311 [1.6us]: https://github.com/rust-lang/rust/pull/29383
2312 [1.6xc]: https://github.com/rust-lang/rust/issues/30123
2313 [RFC 1184]: https://github.com/rust-lang/rfcs/blob/master/text/1184-stabilize-no_std.md
2314 [RFC 1241]: https://github.com/rust-lang/rfcs/blob/master/text/1241-no-wildcard-deps.md
2315 [`ErrorKind::UnexpectedEof`]: http://doc.rust-lang.org/nightly/std/io/enum.ErrorKind.html#variant.UnexpectedEof
2316 [`Iterator::max_by_key`]: http://doc.rust-lang.org/nightly/std/iter/trait.Iterator.html#method.max_by_key
2317 [`Iterator::min_by_key`]: http://doc.rust-lang.org/nightly/std/iter/trait.Iterator.html#method.min_by_key
2318 [`Mutex::get_mut`]: http://doc.rust-lang.org/nightly/std/sync/struct.Mutex.html#method.get_mut
2319 [`Mutex::into_inner`]: http://doc.rust-lang.org/nightly/std/sync/struct.Mutex.html#method.into_inner
2320 [`Read::read_exact`]: http://doc.rust-lang.org/nightly/std/io/trait.Read.html#method.read_exact
2321 [`RwLock::get_mut`]: http://doc.rust-lang.org/nightly/std/sync/struct.RwLock.html#method.get_mut
2322 [`RwLock::into_inner`]: http://doc.rust-lang.org/nightly/std/sync/struct.RwLock.html#method.into_inner
2323 [`Vec::extend_from_slice`]: http://doc.rust-lang.org/nightly/collections/vec/struct.Vec.html#method.extend_from_slice
2324 [`collections::binary_heap::BinaryHeap::drain`]: http://doc.rust-lang.org/nightly/std/collections/binary_heap/struct.BinaryHeap.html#method.drain
2325 [`collections::binary_heap::Drain`]: http://doc.rust-lang.org/nightly/std/collections/binary_heap/struct.Drain.html
2326 [`collections::hash_map::Drain`]: http://doc.rust-lang.org/nightly/std/collections/hash_map/struct.Drain.html
2327 [`collections::hash_map::HashMap::drain`]: http://doc.rust-lang.org/nightly/std/collections/hash_map/struct.HashMap.html#method.drain
2328 [`collections::hash_set::Drain`]: http://doc.rust-lang.org/nightly/std/collections/hash_set/struct.Drain.html
2329 [`collections::hash_set::HashSet::drain`]: http://doc.rust-lang.org/nightly/std/collections/hash_set/struct.HashSet.html#method.drain
2330 [`fs::DirBuilder::create`]: http://doc.rust-lang.org/nightly/std/fs/struct.DirBuilder.html#method.create
2331 [`fs::DirBuilder::new`]: http://doc.rust-lang.org/nightly/std/fs/struct.DirBuilder.html#method.new
2332 [`fs::DirBuilder::recursive`]: http://doc.rust-lang.org/nightly/std/fs/struct.DirBuilder.html#method.recursive
2333 [`fs::DirBuilder`]: http://doc.rust-lang.org/nightly/std/fs/struct.DirBuilder.html
2334 [`os::unix::fs::DirBuilderExt::mode`]: http://doc.rust-lang.org/nightly/std/os/unix/fs/trait.DirBuilderExt.html#tymethod.mode
2335 [`os::unix::fs::DirBuilderExt`]: http://doc.rust-lang.org/nightly/std/os/unix/fs/trait.DirBuilderExt.html
2336 [`string::Drain`]: http://doc.rust-lang.org/nightly/std/string/struct.Drain.html
2337 [`string::String::drain`]: http://doc.rust-lang.org/nightly/std/string/struct.String.html#method.drain
2338 [`vec::Drain`]: http://doc.rust-lang.org/nightly/std/vec/struct.Drain.html
2339 [`vec::Vec::drain`]: http://doc.rust-lang.org/nightly/std/vec/struct.Vec.html#method.drain
2340 [`vec_deque::Drain`]: http://doc.rust-lang.org/nightly/std/collections/vec_deque/struct.Drain.html
2341 [`vec_deque::VecDeque::drain`]: http://doc.rust-lang.org/nightly/std/collections/vec_deque/struct.VecDeque.html#method.drain
2342
2343
2344 Version 1.5.0 (2015-12-10)
2345 ==========================
2346
2347 * ~700 changes, numerous bugfixes
2348
2349 Highlights
2350 ----------
2351
2352 * Stabilized APIs:
2353   [`BinaryHeap::from`], [`BinaryHeap::into_sorted_vec`],
2354   [`BinaryHeap::into_vec`], [`Condvar::wait_timeout`],
2355   [`FileTypeExt::is_block_device`], [`FileTypeExt::is_char_device`],
2356   [`FileTypeExt::is_fifo`], [`FileTypeExt::is_socket`],
2357   [`FileTypeExt`], [`Formatter::alternate`], [`Formatter::fill`],
2358   [`Formatter::precision`], [`Formatter::sign_aware_zero_pad`],
2359   [`Formatter::sign_minus`], [`Formatter::sign_plus`],
2360   [`Formatter::width`], [`Iterator::cmp`], [`Iterator::eq`],
2361   [`Iterator::ge`], [`Iterator::gt`], [`Iterator::le`],
2362   [`Iterator::lt`], [`Iterator::ne`], [`Iterator::partial_cmp`],
2363   [`Path::canonicalize`], [`Path::exists`], [`Path::is_dir`],
2364   [`Path::is_file`], [`Path::metadata`], [`Path::read_dir`],
2365   [`Path::read_link`], [`Path::symlink_metadata`],
2366   [`Utf8Error::valid_up_to`], [`Vec::resize`],
2367   [`VecDeque::as_mut_slices`], [`VecDeque::as_slices`],
2368   [`VecDeque::insert`], [`VecDeque::shrink_to_fit`],
2369   [`VecDeque::swap_remove_back`], [`VecDeque::swap_remove_front`],
2370   [`slice::split_first_mut`], [`slice::split_first`],
2371   [`slice::split_last_mut`], [`slice::split_last`],
2372   [`char::from_u32_unchecked`], [`fs::canonicalize`],
2373   [`str::MatchIndices`], [`str::RMatchIndices`],
2374   [`str::match_indices`], [`str::rmatch_indices`],
2375   [`str::slice_mut_unchecked`], [`string::ParseError`].
2376 * Rust applications hosted on crates.io can be installed locally to
2377   `~/.cargo/bin` with the [`cargo install`] command. Among other
2378   things this makes it easier to augment Cargo with new subcommands:
2379   when a binary named e.g. `cargo-foo` is found in `$PATH` it can be
2380   invoked as `cargo foo`.
2381 * Crates with wildcard (`*`) dependencies will [emit warnings when
2382   published][1.5w]. In 1.6 it will no longer be possible to publish
2383   crates with wildcard dependencies.
2384
2385 Breaking Changes
2386 ----------------
2387
2388 * The rules determining when a particular lifetime must outlive
2389   a particular value (known as '[dropck]') have been [modified
2390   to not rely on parametricity][1.5p].
2391 * [Implementations of `AsRef` and `AsMut` were added to `Box`, `Rc`,
2392   and `Arc`][1.5a]. Because these smart pointer types implement
2393   `Deref`, this causes breakage in cases where the interior type
2394   contains methods of the same name.
2395 * [Correct a bug in Rc/Arc][1.5c] that caused [dropck] to be unaware
2396   that they could drop their content. Soundness fix.
2397 * All method invocations are [properly checked][1.5wf1] for
2398   [well-formedness][1.5wf2]. Soundness fix.
2399 * Traits whose supertraits contain `Self` are [not object
2400   safe][1.5o]. Soundness fix.
2401 * Target specifications support a [`no_default_libraries`][1.5nd]
2402   setting that controls whether `-nodefaultlibs` is passed to the
2403   linker, and in turn the `is_like_windows` setting no longer affects
2404   the `-nodefaultlibs` flag.
2405 * `#[derive(Show)]`, long-deprecated, [has been removed][1.5ds].
2406 * The `#[inline]` and `#[repr]` attributes [can only appear
2407   in valid locations][1.5at].
2408 * Native libraries linked from the local crate are [passed to
2409   the linker before native libraries from upstream crates][1.5nl].
2410 * Two rarely-used attributes, `#[no_debug]` and
2411   `#[omit_gdb_pretty_printer_section]` [are feature gated][1.5fg].
2412 * Negation of unsigned integers, which has been a warning for
2413   several releases, [is now behind a feature gate and will
2414   generate errors][1.5nu].
2415 * The parser accidentally accepted visibility modifiers on
2416   enum variants, a bug [which has been fixed][1.5ev].
2417 * [A bug was fixed that allowed `use` statements to import unstable
2418   features][1.5use].
2419
2420 Language
2421 --------
2422
2423 * When evaluating expressions at compile-time that are not
2424   compile-time constants (const-evaluating expressions in non-const
2425   contexts), incorrect code such as overlong bitshifts and arithmetic
2426   overflow will [generate a warning instead of an error][1.5ce],
2427   delaying the error until runtime. This will allow the
2428   const-evaluator to be expanded in the future backwards-compatibly.
2429 * The `improper_ctypes` lint [no longer warns about using `isize` and
2430   `usize` in FFI][1.5ict].
2431
2432 Libraries
2433 ---------
2434
2435 * `Arc<T>` and `Rc<T>` are [covariant with respect to `T` instead of
2436   invariant][1.5c].
2437 * `Default` is [implemented for mutable slices][1.5d].
2438 * `FromStr` is [implemented for `SockAddrV4` and `SockAddrV6`][1.5s].
2439 * There are now `From` conversions [between floating point
2440   types][1.5f] where the conversions are lossless.
2441 * Thera are now `From` conversions [between integer types][1.5i] where
2442   the conversions are lossless.
2443 * [`fs::Metadata` implements `Clone`][1.5fs].
2444 * The `parse` method [accepts a leading "+" when parsing
2445   integers][1.5pi].
2446 * [`AsMut` is implemented for `Vec`][1.5am].
2447 * The `clone_from` implementations for `String` and `BinaryHeap` [have
2448   been optimized][1.5cf] and no longer rely on the default impl.
2449 * The `extern "Rust"`, `extern "C"`, `unsafe extern "Rust"` and
2450   `unsafe extern "C"` function types now [implement `Clone`,
2451   `PartialEq`, `Eq`, `PartialOrd`, `Ord`, `Hash`, `fmt::Pointer`, and
2452   `fmt::Debug` for up to 12 arguments][1.5fp].
2453 * [Dropping `Vec`s is much faster in unoptimized builds when the
2454   element types don't implement `Drop`][1.5dv].
2455 * A bug that caused in incorrect behavior when [combining `VecDeque`
2456   with zero-sized types][1.5vdz] was resolved.
2457 * [`PartialOrd` for slices is faster][1.5po].
2458
2459 Miscellaneous
2460 -------------
2461
2462 * [Crate metadata size was reduced by 20%][1.5md].
2463 * [Improvements to code generation reduced the size of libcore by 3.3
2464   MB and rustc's memory usage by 18MB][1.5m].
2465 * [Improvements to deref translation increased performance in
2466   unoptimized builds][1.5dr].
2467 * Various errors in trait resolution [are deduplicated to only be
2468   reported once][1.5te].
2469 * Rust has preliminary [support for rumprun kernels][1.5rr].
2470 * Rust has preliminary [support for NetBSD on amd64][1.5na].
2471
2472 [1.5use]: https://github.com/rust-lang/rust/pull/28364
2473 [1.5po]: https://github.com/rust-lang/rust/pull/28436
2474 [1.5ev]: https://github.com/rust-lang/rust/pull/28442
2475 [1.5nu]: https://github.com/rust-lang/rust/pull/28468
2476 [1.5dr]: https://github.com/rust-lang/rust/pull/28491
2477 [1.5vdz]: https://github.com/rust-lang/rust/pull/28494
2478 [1.5md]: https://github.com/rust-lang/rust/pull/28521
2479 [1.5fg]: https://github.com/rust-lang/rust/pull/28522
2480 [1.5dv]: https://github.com/rust-lang/rust/pull/28531
2481 [1.5na]: https://github.com/rust-lang/rust/pull/28543
2482 [1.5fp]: https://github.com/rust-lang/rust/pull/28560
2483 [1.5rr]: https://github.com/rust-lang/rust/pull/28593
2484 [1.5cf]: https://github.com/rust-lang/rust/pull/28602
2485 [1.5nl]: https://github.com/rust-lang/rust/pull/28605
2486 [1.5te]: https://github.com/rust-lang/rust/pull/28645
2487 [1.5at]: https://github.com/rust-lang/rust/pull/28650
2488 [1.5am]: https://github.com/rust-lang/rust/pull/28663
2489 [1.5m]: https://github.com/rust-lang/rust/pull/28778
2490 [1.5ict]: https://github.com/rust-lang/rust/pull/28779
2491 [1.5a]: https://github.com/rust-lang/rust/pull/28811
2492 [1.5pi]: https://github.com/rust-lang/rust/pull/28826
2493 [1.5ce]: https://github.com/rust-lang/rfcs/blob/master/text/1229-compile-time-asserts.md
2494 [1.5p]: https://github.com/rust-lang/rfcs/blob/master/text/1238-nonparametric-dropck.md
2495 [1.5i]: https://github.com/rust-lang/rust/pull/28921
2496 [1.5fs]: https://github.com/rust-lang/rust/pull/29021
2497 [1.5f]: https://github.com/rust-lang/rust/pull/29129
2498 [1.5ds]: https://github.com/rust-lang/rust/pull/29148
2499 [1.5s]: https://github.com/rust-lang/rust/pull/29190
2500 [1.5d]: https://github.com/rust-lang/rust/pull/29245
2501 [1.5o]: https://github.com/rust-lang/rust/pull/29259
2502 [1.5nd]: https://github.com/rust-lang/rust/pull/28578
2503 [1.5wf2]: https://github.com/rust-lang/rfcs/blob/master/text/1214-projections-lifetimes-and-wf.md
2504 [1.5wf1]: https://github.com/rust-lang/rust/pull/28669
2505 [dropck]: https://doc.rust-lang.org/nightly/nomicon/dropck.html
2506 [1.5c]: https://github.com/rust-lang/rust/pull/29110
2507 [1.5w]: https://github.com/rust-lang/rfcs/blob/master/text/1241-no-wildcard-deps.md
2508 [`cargo install`]: https://github.com/rust-lang/rfcs/blob/master/text/1200-cargo-install.md
2509 [`BinaryHeap::from`]: http://doc.rust-lang.org/nightly/std/convert/trait.From.html#method.from
2510 [`BinaryHeap::into_sorted_vec`]: http://doc.rust-lang.org/nightly/std/collections/struct.BinaryHeap.html#method.into_sorted_vec
2511 [`BinaryHeap::into_vec`]: http://doc.rust-lang.org/nightly/std/collections/struct.BinaryHeap.html#method.into_vec
2512 [`Condvar::wait_timeout`]: http://doc.rust-lang.org/nightly/std/sync/struct.Condvar.html#method.wait_timeout
2513 [`FileTypeExt::is_block_device`]: http://doc.rust-lang.org/nightly/std/os/unix/fs/trait.FileTypeExt.html#tymethod.is_block_device
2514 [`FileTypeExt::is_char_device`]: http://doc.rust-lang.org/nightly/std/os/unix/fs/trait.FileTypeExt.html#tymethod.is_char_device
2515 [`FileTypeExt::is_fifo`]: http://doc.rust-lang.org/nightly/std/os/unix/fs/trait.FileTypeExt.html#tymethod.is_fifo
2516 [`FileTypeExt::is_socket`]: http://doc.rust-lang.org/nightly/std/os/unix/fs/trait.FileTypeExt.html#tymethod.is_socket
2517 [`FileTypeExt`]: http://doc.rust-lang.org/nightly/std/os/unix/fs/trait.FileTypeExt.html
2518 [`Formatter::alternate`]: http://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html#method.alternate
2519 [`Formatter::fill`]: http://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html#method.fill
2520 [`Formatter::precision`]: http://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html#method.precision
2521 [`Formatter::sign_aware_zero_pad`]: http://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html#method.sign_aware_zero_pad
2522 [`Formatter::sign_minus`]: http://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html#method.sign_minus
2523 [`Formatter::sign_plus`]: http://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html#method.sign_plus
2524 [`Formatter::width`]: http://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html#method.width
2525 [`Iterator::cmp`]: http://doc.rust-lang.org/nightly/core/iter/trait.Iterator.html#method.cmp
2526 [`Iterator::eq`]: http://doc.rust-lang.org/nightly/core/iter/trait.Iterator.html#method.eq
2527 [`Iterator::ge`]: http://doc.rust-lang.org/nightly/core/iter/trait.Iterator.html#method.ge
2528 [`Iterator::gt`]: http://doc.rust-lang.org/nightly/core/iter/trait.Iterator.html#method.gt
2529 [`Iterator::le`]: http://doc.rust-lang.org/nightly/core/iter/trait.Iterator.html#method.le
2530 [`Iterator::lt`]: http://doc.rust-lang.org/nightly/core/iter/trait.Iterator.html#method.lt
2531 [`Iterator::ne`]: http://doc.rust-lang.org/nightly/core/iter/trait.Iterator.html#method.ne
2532 [`Iterator::partial_cmp`]: http://doc.rust-lang.org/nightly/core/iter/trait.Iterator.html#method.partial_cmp
2533 [`Path::canonicalize`]: http://doc.rust-lang.org/nightly/std/path/struct.Path.html#method.canonicalize
2534 [`Path::exists`]: http://doc.rust-lang.org/nightly/std/path/struct.Path.html#method.exists
2535 [`Path::is_dir`]: http://doc.rust-lang.org/nightly/std/path/struct.Path.html#method.is_dir
2536 [`Path::is_file`]: http://doc.rust-lang.org/nightly/std/path/struct.Path.html#method.is_file
2537 [`Path::metadata`]: http://doc.rust-lang.org/nightly/std/path/struct.Path.html#method.metadata
2538 [`Path::read_dir`]: http://doc.rust-lang.org/nightly/std/path/struct.Path.html#method.read_dir
2539 [`Path::read_link`]: http://doc.rust-lang.org/nightly/std/path/struct.Path.html#method.read_link
2540 [`Path::symlink_metadata`]: http://doc.rust-lang.org/nightly/std/path/struct.Path.html#method.symlink_metadata
2541 [`Utf8Error::valid_up_to`]: http://doc.rust-lang.org/nightly/core/str/struct.Utf8Error.html#method.valid_up_to
2542 [`Vec::resize`]: http://doc.rust-lang.org/nightly/std/vec/struct.Vec.html#method.resize
2543 [`VecDeque::as_mut_slices`]: http://doc.rust-lang.org/nightly/std/collections/struct.VecDeque.html#method.as_mut_slices
2544 [`VecDeque::as_slices`]: http://doc.rust-lang.org/nightly/std/collections/struct.VecDeque.html#method.as_slices
2545 [`VecDeque::insert`]: http://doc.rust-lang.org/nightly/std/collections/struct.VecDeque.html#method.insert
2546 [`VecDeque::shrink_to_fit`]: http://doc.rust-lang.org/nightly/std/collections/struct.VecDeque.html#method.shrink_to_fit
2547 [`VecDeque::swap_remove_back`]: http://doc.rust-lang.org/nightly/std/collections/struct.VecDeque.html#method.swap_remove_back
2548 [`VecDeque::swap_remove_front`]: http://doc.rust-lang.org/nightly/std/collections/struct.VecDeque.html#method.swap_remove_front
2549 [`slice::split_first_mut`]: http://doc.rust-lang.org/nightly/std/primitive.slice.html#method.split_first_mut
2550 [`slice::split_first`]: http://doc.rust-lang.org/nightly/std/primitive.slice.html#method.split_first
2551 [`slice::split_last_mut`]: http://doc.rust-lang.org/nightly/std/primitive.slice.html#method.split_last_mut
2552 [`slice::split_last`]: http://doc.rust-lang.org/nightly/std/primitive.slice.html#method.split_last
2553 [`char::from_u32_unchecked`]: http://doc.rust-lang.org/nightly/std/char/fn.from_u32_unchecked.html
2554 [`fs::canonicalize`]: http://doc.rust-lang.org/nightly/std/fs/fn.canonicalize.html
2555 [`str::MatchIndices`]: http://doc.rust-lang.org/nightly/std/str/struct.MatchIndices.html
2556 [`str::RMatchIndices`]: http://doc.rust-lang.org/nightly/std/str/struct.RMatchIndices.html
2557 [`str::match_indices`]: http://doc.rust-lang.org/nightly/std/primitive.str.html#method.match_indices
2558 [`str::rmatch_indices`]: http://doc.rust-lang.org/nightly/std/primitive.str.html#method.rmatch_indices
2559 [`str::slice_mut_unchecked`]: http://doc.rust-lang.org/nightly/std/primitive.str.html#method.slice_mut_unchecked
2560 [`string::ParseError`]: http://doc.rust-lang.org/nightly/std/string/enum.ParseError.html
2561
2562 Version 1.4.0 (2015-10-29)
2563 ==========================
2564
2565 * ~1200 changes, numerous bugfixes
2566
2567 Highlights
2568 ----------
2569
2570 * Windows builds targeting the 64-bit MSVC ABI and linker (instead of
2571   GNU) are now supported and recommended for use.
2572
2573 Breaking Changes
2574 ----------------
2575
2576 * [Several changes have been made to fix type soundness and improve
2577   the behavior of associated types][sound]. See [RFC 1214]. Although
2578   we have mostly introduced these changes as warnings this release, to
2579   become errors next release, there are still some scenarios that will
2580   see immediate breakage.
2581 * [The `str::lines` and `BufRead::lines` iterators treat `\r\n` as
2582   line breaks in addition to `\n`][crlf].
2583 * [Loans of `'static` lifetime extend to the end of a function][stat].
2584 * [`str::parse` no longer introduces avoidable rounding error when
2585   parsing floating point numbers. Together with earlier changes to
2586   float formatting/output, "round trips" like f.to_string().parse()
2587   now preserve the value of f exactly. Additionally, leading plus
2588   signs are now accepted][fp3].
2589
2590
2591 Language
2592 --------
2593
2594 * `use` statements that import multiple items [can now rename
2595   them][i], as in `use foo::{bar as kitten, baz as puppy}`.
2596 * [Binops work correctly on fat pointers][binfat].
2597 * `pub extern crate`, which does not behave as expected, [issues a
2598   warning][pec] until a better solution is found.
2599
2600 Libraries
2601 ---------
2602
2603 * [Many APIs were stabilized][stab]: `<Box<str>>::into_string`,
2604   [`Arc::downgrade`], [`Arc::get_mut`], [`Arc::make_mut`],
2605   [`Arc::try_unwrap`], [`Box::from_raw`], [`Box::into_raw`], [`CStr::to_str`],
2606   [`CStr::to_string_lossy`], [`CString::from_raw`], [`CString::into_raw`],
2607   [`IntoRawFd::into_raw_fd`], [`IntoRawFd`],
2608   `IntoRawHandle::into_raw_handle`, `IntoRawHandle`,
2609   `IntoRawSocket::into_raw_socket`, `IntoRawSocket`, [`Rc::downgrade`],
2610   [`Rc::get_mut`], [`Rc::make_mut`], [`Rc::try_unwrap`], [`Result::expect`],
2611   [`String::into_boxed_str`], [`TcpStream::read_timeout`],
2612   [`TcpStream::set_read_timeout`], [`TcpStream::set_write_timeout`],
2613   [`TcpStream::write_timeout`], [`UdpSocket::read_timeout`],
2614   [`UdpSocket::set_read_timeout`], [`UdpSocket::set_write_timeout`],
2615   [`UdpSocket::write_timeout`], `Vec::append`, `Vec::split_off`,
2616   [`VecDeque::append`], [`VecDeque::retain`], [`VecDeque::split_off`],
2617   [`rc::Weak::upgrade`], [`rc::Weak`], [`slice::Iter::as_slice`],
2618   [`slice::IterMut::into_slice`], [`str::CharIndices::as_str`],
2619   [`str::Chars::as_str`], [`str::split_at_mut`], [`str::split_at`],
2620   [`sync::Weak::upgrade`], [`sync::Weak`], [`thread::park_timeout`],
2621   [`thread::sleep`].
2622 * [Some APIs were deprecated][dep]: `BTreeMap::with_b`,
2623   `BTreeSet::with_b`, `Option::as_mut_slice`, `Option::as_slice`,
2624   `Result::as_mut_slice`, `Result::as_slice`, `f32::from_str_radix`,
2625   `f64::from_str_radix`.
2626 * [Reverse-searching strings is faster with the 'two-way'
2627   algorithm][s].
2628 * [`std::io::copy` allows `?Sized` arguments][cc].
2629 * The `Windows`, `Chunks`, and `ChunksMut` iterators over slices all
2630   [override `count`, `nth` and `last` with an O(1)
2631   implementation][it].
2632 * [`Default` is implemented for arrays up to `[T; 32]`][d].
2633 * [`IntoRawFd` has been added to the Unix-specific prelude,
2634   `IntoRawSocket` and `IntoRawHandle` to the Windows-specific
2635   prelude][pr].
2636 * [`Extend<String>` and `FromIterator<String` are both implemented for
2637   `String`][es].
2638 * [`IntoIterator` is implemented for references to `Option` and
2639   `Result`][into2].
2640 * [`HashMap` and `HashSet` implement `Extend<&T>` where `T:
2641   Copy`][ext] as part of [RFC 839]. This will cause type inferance
2642   breakage in rare situations.
2643 * [`BinaryHeap` implements `Debug`][bh2].
2644 * [`Borrow` and `BorrowMut` are implemented for fixed-size
2645   arrays][bm].
2646 * [`extern fn`s with the "Rust" and "C" ABIs implement common
2647   traits including `Eq`, `Ord`, `Debug`, `Hash`][fp].
2648 * [String comparison is faster][faststr].
2649 * `&mut T` where `T: std::fmt::Write` [also implements
2650   `std::fmt::Write`][mutw].
2651 * [A stable regression in `VecDeque::push_back` and other
2652   capicity-altering methods that caused panics for zero-sized types
2653   was fixed][vd].
2654 * [Function pointers implement traits for up to 12 parameters][fp2].
2655
2656 Miscellaneous
2657 -------------
2658
2659 * The compiler [no longer uses the 'morestack' feature to prevent
2660   stack overflow][mm]. Instead it uses guard pages and stack
2661   probes (though stack probes are not yet implemented on any platform
2662   but Windows).
2663 * [The compiler matches traits faster when projections are involved][p].
2664 * The 'improper_ctypes' lint [no longer warns about use of `isize` and
2665   `usize`][ffi].
2666 * [Cargo now displays useful information about what its doing during
2667   `cargo update`][cu].
2668
2669 [`Arc::downgrade`]: http://doc.rust-lang.org/nightly/alloc/arc/struct.Arc.html#method.downgrade
2670 [`Arc::make_mut`]: http://doc.rust-lang.org/nightly/alloc/arc/struct.Arc.html#method.make_mut
2671 [`Arc::get_mut`]: http://doc.rust-lang.org/nightly/alloc/arc/struct.Arc.html#method.get_mut
2672 [`Arc::try_unwrap`]: http://doc.rust-lang.org/nightly/alloc/arc/struct.Arc.html#method.try_unwrap
2673 [`Box::from_raw`]: http://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html#method.from_raw
2674 [`Box::into_raw`]: http://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html#method.into_raw
2675 [`CStr::to_str`]: http://doc.rust-lang.org/nightly/std/ffi/struct.CStr.html#method.to_str
2676 [`CStr::to_string_lossy`]: http://doc.rust-lang.org/nightly/std/ffi/struct.CStr.html#method.to_string_lossy
2677 [`CString::from_raw`]: http://doc.rust-lang.org/nightly/std/ffi/struct.CString.html#method.from_raw
2678 [`CString::into_raw`]: http://doc.rust-lang.org/nightly/std/ffi/struct.CString.html#method.into_raw
2679 [`IntoRawFd::into_raw_fd`]: http://doc.rust-lang.org/nightly/std/os/unix/io/trait.IntoRawFd.html#tymethod.into_raw_fd
2680 [`IntoRawFd`]: http://doc.rust-lang.org/nightly/std/os/unix/io/trait.IntoRawFd.html
2681 [`Rc::downgrade`]: http://doc.rust-lang.org/nightly/alloc/rc/struct.Rc.html#method.downgrade
2682 [`Rc::get_mut`]: http://doc.rust-lang.org/nightly/alloc/rc/struct.Rc.html#method.get_mut
2683 [`Rc::make_mut`]: http://doc.rust-lang.org/nightly/alloc/rc/struct.Rc.html#method.make_mut
2684 [`Rc::try_unwrap`]: http://doc.rust-lang.org/nightly/alloc/rc/struct.Rc.html#method.try_unwrap
2685 [`Result::expect`]: http://doc.rust-lang.org/nightly/core/result/enum.Result.html#method.expect
2686 [`String::into_boxed_str`]: http://doc.rust-lang.org/nightly/collections/string/struct.String.html#method.into_boxed_str
2687 [`TcpStream::read_timeout`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.read_timeout
2688 [`TcpStream::set_read_timeout`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.set_read_timeout
2689 [`TcpStream::write_timeout`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.write_timeout
2690 [`TcpStream::set_write_timeout`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.set_write_timeout
2691 [`UdpSocket::read_timeout`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.read_timeout
2692 [`UdpSocket::set_read_timeout`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.set_read_timeout
2693 [`UdpSocket::write_timeout`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.write_timeout
2694 [`UdpSocket::set_write_timeout`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.set_write_timeout
2695 [`VecDeque::append`]: http://doc.rust-lang.org/nightly/std/collections/struct.VecDeque.html#method.append
2696 [`VecDeque::retain`]: http://doc.rust-lang.org/nightly/std/collections/struct.VecDeque.html#method.retain
2697 [`VecDeque::split_off`]: http://doc.rust-lang.org/nightly/std/collections/struct.VecDeque.html#method.split_off
2698 [`rc::Weak::upgrade`]: http://doc.rust-lang.org/nightly/std/rc/struct.Weak.html#method.upgrade
2699 [`rc::Weak`]: http://doc.rust-lang.org/nightly/std/rc/struct.Weak.html
2700 [`slice::Iter::as_slice`]: http://doc.rust-lang.org/nightly/std/slice/struct.Iter.html#method.as_slice
2701 [`slice::IterMut::into_slice`]: http://doc.rust-lang.org/nightly/std/slice/struct.IterMut.html#method.into_slice
2702 [`str::CharIndices::as_str`]: http://doc.rust-lang.org/nightly/std/str/struct.CharIndices.html#method.as_str
2703 [`str::Chars::as_str`]: http://doc.rust-lang.org/nightly/std/str/struct.Chars.html#method.as_str
2704 [`str::split_at_mut`]: http://doc.rust-lang.org/nightly/std/primitive.str.html#method.split_at_mut
2705 [`str::split_at`]: http://doc.rust-lang.org/nightly/std/primitive.str.html#method.split_at
2706 [`sync::Weak::upgrade`]: http://doc.rust-lang.org/nightly/std/sync/struct.Weak.html#method.upgrade
2707 [`sync::Weak`]: http://doc.rust-lang.org/nightly/std/sync/struct.Weak.html
2708 [`thread::park_timeout`]: http://doc.rust-lang.org/nightly/std/thread/fn.park_timeout.html
2709 [`thread::sleep`]: http://doc.rust-lang.org/nightly/std/thread/fn.sleep.html
2710 [bh2]: https://github.com/rust-lang/rust/pull/28156
2711 [binfat]: https://github.com/rust-lang/rust/pull/28270
2712 [bm]: https://github.com/rust-lang/rust/pull/28197
2713 [cc]: https://github.com/rust-lang/rust/pull/27531
2714 [crlf]: https://github.com/rust-lang/rust/pull/28034
2715 [cu]: https://github.com/rust-lang/cargo/pull/1931
2716 [d]: https://github.com/rust-lang/rust/pull/27825
2717 [dep]: https://github.com/rust-lang/rust/pull/28339
2718 [es]: https://github.com/rust-lang/rust/pull/27956
2719 [ext]: https://github.com/rust-lang/rust/pull/28094
2720 [faststr]: https://github.com/rust-lang/rust/pull/28338
2721 [ffi]: https://github.com/rust-lang/rust/pull/28779
2722 [fp]: https://github.com/rust-lang/rust/pull/28268
2723 [fp2]: https://github.com/rust-lang/rust/pull/28560
2724 [fp3]: https://github.com/rust-lang/rust/pull/27307
2725 [i]: https://github.com/rust-lang/rust/pull/27451
2726 [into2]: https://github.com/rust-lang/rust/pull/28039
2727 [it]: https://github.com/rust-lang/rust/pull/27652
2728 [mm]: https://github.com/rust-lang/rust/pull/27338
2729 [mutw]: https://github.com/rust-lang/rust/pull/28368
2730 [sound]: https://github.com/rust-lang/rust/pull/27641
2731 [p]: https://github.com/rust-lang/rust/pull/27866
2732 [pec]: https://github.com/rust-lang/rust/pull/28486
2733 [pr]: https://github.com/rust-lang/rust/pull/27896
2734 [RFC 839]: https://github.com/rust-lang/rfcs/blob/master/text/0839-embrace-extend-extinguish.md
2735 [RFC 1214]: https://github.com/rust-lang/rfcs/blob/master/text/1214-projections-lifetimes-and-wf.md
2736 [s]: https://github.com/rust-lang/rust/pull/27474
2737 [stab]: https://github.com/rust-lang/rust/pull/28339
2738 [stat]: https://github.com/rust-lang/rust/pull/28321
2739 [vd]: https://github.com/rust-lang/rust/pull/28494
2740
2741 Version 1.3.0 (2015-09-17)
2742 ==============================
2743
2744 * ~900 changes, numerous bugfixes
2745
2746 Highlights
2747 ----------
2748
2749 * The [new object lifetime defaults][nold] have been [turned
2750   on][nold2] after a cycle of warnings about the change. Now types
2751   like `&'a Box<Trait>` (or `&'a Rc<Trait>`, etc) will change from
2752   being interpreted as `&'a Box<Trait+'a>` to `&'a
2753   Box<Trait+'static>`.
2754 * [The Rustonomicon][nom] is a new book in the official documentation
2755   that dives into writing unsafe Rust.
2756 * The [`Duration`] API, [has been stabilized][ds]. This basic unit of
2757   timekeeping is employed by other std APIs, as well as out-of-tree
2758   time crates.
2759
2760 Breaking Changes
2761 ----------------
2762
2763 * The [new object lifetime defaults][nold] have been [turned
2764   on][nold2] after a cycle of warnings about the change.
2765 * There is a known [regression][lr] in how object lifetime elision is
2766   interpreted, the proper solution for which is undetermined.
2767 * The `#[prelude_import]` attribute, an internal implementation
2768   detail, was accidentally stabilized previously. [It has been put
2769   behind the `prelude_import` feature gate][pi]. This change is
2770   believed to break no existing code.
2771 * The behavior of [`size_of_val`][dst1] and [`align_of_val`][dst2] is
2772   [more sane for dynamically sized types][dst3]. Code that relied on
2773   the previous behavior is thought to be broken.
2774 * The `dropck` rules, which checks that destructors can't access
2775   destroyed values, [have been updated][dropck] to match the
2776   [RFC][dropckrfc]. This fixes some soundness holes, and as such will
2777   cause some previously-compiling code to no longer build.
2778
2779 Language
2780 --------
2781
2782 * The [new object lifetime defaults][nold] have been [turned
2783   on][nold2] after a cycle of warnings about the change.
2784 * Semicolons may [now follow types and paths in
2785   macros](https://github.com/rust-lang/rust/pull/27000).
2786 * The behavior of [`size_of_val`][dst1] and [`align_of_val`][dst2] is
2787   [more sane for dynamically sized types][dst3]. Code that relied on
2788   the previous behavior is not known to exist, and suspected to be
2789   broken.
2790 * `'static` variables [may now be recursive][st].
2791 * `ref` bindings choose between [`Deref`] and [`DerefMut`]
2792   implementations correctly.
2793 * The `dropck` rules, which checks that destructors can't access
2794   destroyed values, [have been updated][dropck] to match the
2795   [RFC][dropckrfc].
2796
2797 Libraries
2798 ---------
2799
2800 * The [`Duration`] API, [has been stabilized][ds], as well as the
2801   `std::time` module, which presently contains only `Duration`.
2802 * `Box<str>` and `Box<[T]>` both implement `Clone`.
2803 * The owned C string, [`CString`], implements [`Borrow`] and the
2804   borrowed C string, [`CStr`], implements [`ToOwned`]. The two of
2805   these allow C strings to be borrowed and cloned in generic code.
2806 * [`CStr`] implements [`Debug`].
2807 * [`AtomicPtr`] implements [`Debug`].
2808 * [`Error`] trait objects [can be downcast to their concrete types][e]
2809   in many common configurations, using the [`is`], [`downcast`],
2810   [`downcast_ref`] and [`downcast_mut`] methods, similarly to the
2811   [`Any`] trait.
2812 * Searching for substrings now [employs the two-way algorithm][search]
2813   instead of doing a naive search. This gives major speedups to a
2814   number of methods, including [`contains`][sc], [`find`][sf],
2815   [`rfind`][srf], [`split`][ss]. [`starts_with`][ssw] and
2816   [`ends_with`][sew] are also faster.
2817 * The performance of `PartialEq` for slices is [much faster][ps].
2818 * The [`Hash`] trait offers the default method, [`hash_slice`], which
2819   is overridden and optimized by the implementations for scalars.
2820 * The [`Hasher`] trait now has a number of specialized `write_*`
2821   methods for primitive types, for efficiency.
2822 * The I/O-specific error type, [`std::io::Error`][ie], gained a set of
2823   methods for accessing the 'inner error', if any: [`get_ref`][iegr],
2824   [`get_mut`][iegm], [`into_inner`][ieii]. As well, the implementation
2825   of [`std::error::Error::cause`][iec] also delegates to the inner
2826   error.
2827 * [`process::Child`][pc] gained the [`id`] method, which returns a
2828   `u32` representing the platform-specific process identifier.
2829 * The [`connect`] method on slices is deprecated, replaced by the new
2830   [`join`] method (note that both of these are on the *unstable*
2831   [`SliceConcatExt`] trait, but through the magic of the prelude are
2832   available to stable code anyway).
2833 * The [`Div`] operator is implemented for [`Wrapping`] types.
2834 * [`DerefMut` is implemented for `String`][dms].
2835 * Performance of SipHash (the default hasher for `HashMap`) is
2836   [better for long data][sh].
2837 * [`AtomicPtr`] implements [`Send`].
2838 * The [`read_to_end`] implementations for [`Stdin`] and [`File`]
2839   are now [specialized to use uninitalized buffers for increased
2840   performance][rte].
2841 * Lifetime parameters of foreign functions [are now resolved
2842   properly][f].
2843
2844 Misc
2845 ----
2846
2847 * Rust can now, with some coercion, [produce programs that run on
2848   Windows XP][xp], though XP is not considered a supported platform.
2849 * Porting Rust on Windows from the GNU toolchain to MSVC continues
2850   ([1][win1], [2][win2], [3][win3], [4][win4]). It is still not
2851   recommended for use in 1.3, though should be fully-functional
2852   in the [64-bit 1.4 beta][b14].
2853 * On Fedora-based systems installation will [properly configure the
2854   dynamic linker][fl].
2855 * The compiler gained many new extended error descriptions, which can
2856   be accessed with the `--explain` flag.
2857 * The `dropck` pass, which checks that destructors can't access
2858   destroyed values, [has been rewritten][dropck]. This fixes some
2859   soundness holes, and as such will cause some previously-compiling
2860   code to no longer build.
2861 * `rustc` now uses [LLVM to write archive files where possible][ar].
2862   Eventually this will eliminate the compiler's dependency on the ar
2863   utility.
2864 * Rust has [preliminary support for i686 FreeBSD][fb] (it has long
2865   supported FreeBSD on x86_64).
2866 * The [`unused_mut`][lum], [`unconditional_recursion`][lur],
2867   [`improper_ctypes`][lic], and [`negate_unsigned`][lnu] lints are
2868   more strict.
2869 * If landing pads are disabled (with `-Z no-landing-pads`), [`panic!`
2870   will kill the process instead of leaking][nlp].
2871
2872 [`Any`]: http://doc.rust-lang.org/nightly/std/any/trait.Any.html
2873 [`AtomicPtr`]: http://doc.rust-lang.org/nightly/std/sync/atomic/struct.AtomicPtr.html
2874 [`Borrow`]: http://doc.rust-lang.org/nightly/std/borrow/trait.Borrow.html
2875 [`CStr`]: http://doc.rust-lang.org/nightly/std/ffi/struct.CStr.html
2876 [`CString`]: http://doc.rust-lang.org/nightly/std/ffi/struct.CString.html
2877 [`Debug`]: http://doc.rust-lang.org/nightly/std/fmt/trait.Debug.html
2878 [`DerefMut`]: http://doc.rust-lang.org/nightly/std/ops/trait.DerefMut.html
2879 [`Deref`]: http://doc.rust-lang.org/nightly/std/ops/trait.Deref.html
2880 [`Div`]: http://doc.rust-lang.org/nightly/std/ops/trait.Div.html
2881 [`Duration`]: http://doc.rust-lang.org/nightly/std/time/struct.Duration.html
2882 [`Error`]: http://doc.rust-lang.org/nightly/std/error/trait.Error.html
2883 [`File`]: http://doc.rust-lang.org/nightly/std/fs/struct.File.html
2884 [`Hash`]: http://doc.rust-lang.org/nightly/std/hash/trait.Hash.html
2885 [`Hasher`]: http://doc.rust-lang.org/nightly/std/hash/trait.Hasher.html
2886 [`Send`]: http://doc.rust-lang.org/nightly/std/marker/trait.Send.html
2887 [`SliceConcatExt`]: http://doc.rust-lang.org/nightly/std/slice/trait.SliceConcatExt.html
2888 [`Stdin`]: http://doc.rust-lang.org/nightly/std/io/struct.Stdin.html
2889 [`ToOwned`]: http://doc.rust-lang.org/nightly/std/borrow/trait.ToOwned.html
2890 [`Wrapping`]: http://doc.rust-lang.org/nightly/std/num/struct.Wrapping.html
2891 [`connect`]: http://doc.rust-lang.org/nightly/std/slice/trait.SliceConcatExt.html#method.connect
2892 [`downcast_mut`]: http://doc.rust-lang.org/nightly/std/error/trait.Error.html#method.downcast_mut
2893 [`downcast_ref`]: http://doc.rust-lang.org/nightly/std/error/trait.Error.html#method.downcast_ref
2894 [`downcast`]: http://doc.rust-lang.org/nightly/std/error/trait.Error.html#method.downcast
2895 [`hash_slice`]: http://doc.rust-lang.org/nightly/std/hash/trait.Hash.html#method.hash_slice
2896 [`id`]: http://doc.rust-lang.org/nightly/std/process/struct.Child.html#method.id
2897 [`is`]: http://doc.rust-lang.org/nightly/std/error/trait.Error.html#method.is
2898 [`join`]: http://doc.rust-lang.org/nightly/std/slice/trait.SliceConcatExt.html#method.join
2899 [`read_to_end`]: http://doc.rust-lang.org/nightly/std/io/trait.Read.html#method.read_to_end
2900 [ar]: https://github.com/rust-lang/rust/pull/26926
2901 [b14]: https://static.rust-lang.org/dist/rust-beta-x86_64-pc-windows-msvc.msi
2902 [dms]: https://github.com/rust-lang/rust/pull/26241
2903 [dropck]: https://github.com/rust-lang/rust/pull/27261
2904 [dropckrfc]: https://github.com/rust-lang/rfcs/blob/master/text/0769-sound-generic-drop.md
2905 [ds]: https://github.com/rust-lang/rust/pull/26818
2906 [dst1]: http://doc.rust-lang.org/nightly/std/mem/fn.size_of_val.html
2907 [dst2]: http://doc.rust-lang.org/nightly/std/mem/fn.align_of_val.html
2908 [dst3]: https://github.com/rust-lang/rust/pull/27351
2909 [e]: https://github.com/rust-lang/rust/pull/24793
2910 [f]: https://github.com/rust-lang/rust/pull/26588
2911 [fb]: https://github.com/rust-lang/rust/pull/26959
2912 [fl]: https://github.com/rust-lang/rust-installer/pull/41
2913 [hs]: http://doc.rust-lang.org/nightly/std/hash/trait.Hash.html#method.hash_slice
2914 [ie]: http://doc.rust-lang.org/nightly/std/io/struct.Error.html
2915 [iec]: http://doc.rust-lang.org/nightly/std/io/struct.Error.html#method.cause
2916 [iegm]: http://doc.rust-lang.org/nightly/std/io/struct.Error.html#method.get_mut
2917 [iegr]: http://doc.rust-lang.org/nightly/std/io/struct.Error.html#method.get_ref
2918 [ieii]: http://doc.rust-lang.org/nightly/std/io/struct.Error.html#method.into_inner
2919 [lic]: https://github.com/rust-lang/rust/pull/26583
2920 [lnu]: https://github.com/rust-lang/rust/pull/27026
2921 [lr]: https://github.com/rust-lang/rust/issues/27248
2922 [lum]: https://github.com/rust-lang/rust/pull/26378
2923 [lur]: https://github.com/rust-lang/rust/pull/26783
2924 [nlp]: https://github.com/rust-lang/rust/pull/27176
2925 [nold2]: https://github.com/rust-lang/rust/pull/27045
2926 [nold]: https://github.com/rust-lang/rfcs/blob/master/text/1156-adjust-default-object-bounds.md
2927 [nom]: http://doc.rust-lang.org/nightly/nomicon/
2928 [pc]: http://doc.rust-lang.org/nightly/std/process/struct.Child.html
2929 [pi]: https://github.com/rust-lang/rust/pull/26699
2930 [ps]: https://github.com/rust-lang/rust/pull/26884
2931 [rte]: https://github.com/rust-lang/rust/pull/26950
2932 [sc]: http://doc.rust-lang.org/nightly/std/primitive.str.html#method.contains
2933 [search]: https://github.com/rust-lang/rust/pull/26327
2934 [sew]: http://doc.rust-lang.org/nightly/std/primitive.str.html#method.ends_with
2935 [sf]: http://doc.rust-lang.org/nightly/std/primitive.str.html#method.find
2936 [sh]: https://github.com/rust-lang/rust/pull/27280
2937 [srf]: http://doc.rust-lang.org/nightly/std/primitive.str.html#method.rfind
2938 [ss]: http://doc.rust-lang.org/nightly/std/primitive.str.html#method.split
2939 [ssw]: http://doc.rust-lang.org/nightly/std/primitive.str.html#method.starts_with
2940 [st]: https://github.com/rust-lang/rust/pull/26630
2941 [win1]: https://github.com/rust-lang/rust/pull/26569
2942 [win2]: https://github.com/rust-lang/rust/pull/26741
2943 [win3]: https://github.com/rust-lang/rust/pull/26741
2944 [win4]: https://github.com/rust-lang/rust/pull/27210
2945 [xp]: https://github.com/rust-lang/rust/pull/26569
2946
2947 Version 1.2.0 (2015-08-07)
2948 ==========================
2949
2950 * ~1200 changes, numerous bugfixes
2951
2952 Highlights
2953 ----------
2954
2955 * [Dynamically-sized-type coercions][dst] allow smart pointer types
2956   like `Rc` to contain types without a fixed size, arrays and trait
2957   objects, finally enabling use of `Rc<[T]>` and completing the
2958   implementation of DST.
2959 * [Parallel codegen][parcodegen] is now working again, which can
2960   substantially speed up large builds in debug mode; It also gets
2961   another ~33% speedup when bootstrapping on a 4 core machine (using 8
2962   jobs). It's not enabled by default, but will be "in the near
2963   future". It can be activated with the `-C codegen-units=N` flag to
2964   `rustc`.
2965 * This is the first release with [experimental support for linking
2966   with the MSVC linker and lib C on Windows (instead of using the GNU
2967   variants via MinGW)][win]. It is yet recommended only for the most
2968   intrepid Rusticians.
2969 * Benchmark compilations are showing a 30% improvement in
2970   bootstrapping over 1.1.
2971
2972 Breaking Changes
2973 ----------------
2974
2975 * The [`to_uppercase`] and [`to_lowercase`] methods on `char` now do
2976   unicode case mapping, which is a previously-planned change in
2977   behavior and considered a bugfix.
2978 * [`mem::align_of`] now specifies [the *minimum alignment* for
2979   T][align], which is usually the alignment programs are interested
2980   in, and the same value reported by clang's
2981   `alignof`. [`mem::min_align_of`] is deprecated. This is not known to
2982   break real code.
2983 * [The `#[packed]` attribute is no longer silently accepted by the
2984   compiler][packed]. This attribute did nothing and code that
2985   mentioned it likely did not work as intended.
2986 * Associated type defaults are [now behind the
2987   `associated_type_defaults` feature gate][ad]. In 1.1 associated type
2988   defaults *did not work*, but could be mentioned syntactically. As
2989   such this breakage has minimal impact.
2990
2991 Language
2992 --------
2993
2994 * Patterns with `ref mut` now correctly invoke [`DerefMut`] when
2995   matching against dereferencable values.
2996
2997 Libraries
2998 ---------
2999
3000 * The [`Extend`] trait, which grows a collection from an iterator, is
3001   implemented over iterators of references, for `String`, `Vec`,
3002   `LinkedList`, `VecDeque`, `EnumSet`, `BinaryHeap`, `VecMap`,
3003   `BTreeSet` and `BTreeMap`. [RFC][extend-rfc].
3004 * The [`iter::once`] function returns an iterator that yields a single
3005   element, and [`iter::empty`] returns an iterator that yields no
3006   elements.
3007 * The [`matches`] and [`rmatches`] methods on `str` return iterators
3008   over substring matches.
3009 * [`Cell`] and [`RefCell`] both implement `Eq`.
3010 * A number of methods for wrapping arithmetic are added to the
3011   integral types, [`wrapping_div`], [`wrapping_rem`],
3012   [`wrapping_neg`], [`wrapping_shl`], [`wrapping_shr`]. These are in
3013   addition to the existing [`wrapping_add`], [`wrapping_sub`], and
3014   [`wrapping_mul`] methods, and alternatives to the [`Wrapping`]
3015   type.. It is illegal for the default arithmetic operations in Rust
3016   to overflow; the desire to wrap must be explicit.
3017 * The `{:#?}` formatting specifier [displays the alternate,
3018   pretty-printed][debugfmt] form of the `Debug` formatter. This
3019   feature was actually introduced prior to 1.0 with little
3020   fanfare.
3021 * [`fmt::Formatter`] implements [`fmt::Write`], a `fmt`-specific trait
3022   for writing data to formatted strings, similar to [`io::Write`].
3023 * [`fmt::Formatter`] adds 'debug builder' methods, [`debug_struct`],
3024   [`debug_tuple`], [`debug_list`], [`debug_set`], [`debug_map`]. These
3025   are used by code generators to emit implementations of [`Debug`].
3026 * `str` has new [`to_uppercase`][strup] and [`to_lowercase`][strlow]
3027   methods that convert case, following Unicode case mapping.
3028 * It is now easier to handle poisoned locks. The [`PoisonError`]
3029   type, returned by failing lock operations, exposes `into_inner`,
3030   `get_ref`, and `get_mut`, which all give access to the inner lock
3031   guard, and allow the poisoned lock to continue to operate. The
3032   `is_poisoned` method of [`RwLock`] and [`Mutex`] can poll for a
3033   poisoned lock without attempting to take the lock.
3034 * On Unix the [`FromRawFd`] trait is implemented for [`Stdio`], and
3035   [`AsRawFd`] for [`ChildStdin`], [`ChildStdout`], [`ChildStderr`].
3036   On Windows the `FromRawHandle` trait is implemented for `Stdio`,
3037   and `AsRawHandle` for `ChildStdin`, `ChildStdout`,
3038   `ChildStderr`.
3039 * [`io::ErrorKind`] has a new variant, `InvalidData`, which indicates
3040   malformed input.
3041
3042 Misc
3043 ----
3044
3045 * `rustc` employs smarter heuristics for guessing at [typos].
3046 * `rustc` emits more efficient code for [no-op conversions between
3047   unsafe pointers][nop].
3048 * Fat pointers are now [passed in pairs of immediate arguments][fat],
3049   resulting in faster compile times and smaller code.
3050
3051 [`Extend`]: https://doc.rust-lang.org/nightly/std/iter/trait.Extend.html
3052 [extend-rfc]: https://github.com/rust-lang/rfcs/blob/master/text/0839-embrace-extend-extinguish.md
3053 [`iter::once`]: https://doc.rust-lang.org/nightly/std/iter/fn.once.html
3054 [`iter::empty`]: https://doc.rust-lang.org/nightly/std/iter/fn.empty.html
3055 [`matches`]: https://doc.rust-lang.org/nightly/std/primitive.str.html#method.matches
3056 [`rmatches`]: https://doc.rust-lang.org/nightly/std/primitive.str.html#method.rmatches
3057 [`Cell`]: https://doc.rust-lang.org/nightly/std/cell/struct.Cell.html
3058 [`RefCell`]: https://doc.rust-lang.org/nightly/std/cell/struct.RefCell.html
3059 [`wrapping_add`]: https://doc.rust-lang.org/nightly/std/primitive.i8.html#method.wrapping_add
3060 [`wrapping_sub`]: https://doc.rust-lang.org/nightly/std/primitive.i8.html#method.wrapping_sub
3061 [`wrapping_mul`]: https://doc.rust-lang.org/nightly/std/primitive.i8.html#method.wrapping_mul
3062 [`wrapping_div`]: https://doc.rust-lang.org/nightly/std/primitive.i8.html#method.wrapping_div
3063 [`wrapping_rem`]: https://doc.rust-lang.org/nightly/std/primitive.i8.html#method.wrapping_rem
3064 [`wrapping_neg`]: https://doc.rust-lang.org/nightly/std/primitive.i8.html#method.wrapping_neg
3065 [`wrapping_shl`]: https://doc.rust-lang.org/nightly/std/primitive.i8.html#method.wrapping_shl
3066 [`wrapping_shr`]: https://doc.rust-lang.org/nightly/std/primitive.i8.html#method.wrapping_shr
3067 [`Wrapping`]: https://doc.rust-lang.org/nightly/std/num/struct.Wrapping.html
3068 [`fmt::Formatter`]: https://doc.rust-lang.org/nightly/std/fmt/struct.Formatter.html
3069 [`fmt::Write`]: https://doc.rust-lang.org/nightly/std/fmt/trait.Write.html
3070 [`io::Write`]: https://doc.rust-lang.org/nightly/std/io/trait.Write.html
3071 [`debug_struct`]: https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html#method.debug_struct
3072 [`debug_tuple`]: https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html#method.debug_tuple
3073 [`debug_list`]: https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html#method.debug_list
3074 [`debug_set`]: https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html#method.debug_set
3075 [`debug_map`]: https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html#method.debug_map
3076 [`Debug`]: https://doc.rust-lang.org/nightly/std/fmt/trait.Debug.html
3077 [strup]: https://doc.rust-lang.org/nightly/std/primitive.str.html#method.to_uppercase
3078 [strlow]: https://doc.rust-lang.org/nightly/std/primitive.str.html#method.to_lowercase
3079 [`to_uppercase`]: https://doc.rust-lang.org/nightly/std/primitive.char.html#method.to_uppercase
3080 [`to_lowercase`]: https://doc.rust-lang.org/nightly/std/primitive.char.html#method.to_lowercase
3081 [`PoisonError`]: https://doc.rust-lang.org/nightly/std/sync/struct.PoisonError.html
3082 [`RwLock`]: https://doc.rust-lang.org/nightly/std/sync/struct.RwLock.html
3083 [`Mutex`]: https://doc.rust-lang.org/nightly/std/sync/struct.Mutex.html
3084 [`FromRawFd`]: https://doc.rust-lang.org/nightly/std/os/unix/io/trait.FromRawFd.html
3085 [`AsRawFd`]: https://doc.rust-lang.org/nightly/std/os/unix/io/trait.AsRawFd.html
3086 [`Stdio`]: https://doc.rust-lang.org/nightly/std/process/struct.Stdio.html
3087 [`ChildStdin`]: https://doc.rust-lang.org/nightly/std/process/struct.ChildStdin.html
3088 [`ChildStdout`]: https://doc.rust-lang.org/nightly/std/process/struct.ChildStdout.html
3089 [`ChildStderr`]: https://doc.rust-lang.org/nightly/std/process/struct.ChildStderr.html
3090 [`io::ErrorKind`]: https://doc.rust-lang.org/nightly/std/io/enum.ErrorKind.html
3091 [debugfmt]: https://www.reddit.com/r/rust/comments/3ceaui/psa_produces_prettyprinted_debug_output/
3092 [`DerefMut`]: https://doc.rust-lang.org/nightly/std/ops/trait.DerefMut.html
3093 [`mem::align_of`]: https://doc.rust-lang.org/nightly/std/mem/fn.align_of.html
3094 [align]: https://github.com/rust-lang/rust/pull/25646
3095 [`mem::min_align_of`]: https://doc.rust-lang.org/nightly/std/mem/fn.min_align_of.html
3096 [typos]: https://github.com/rust-lang/rust/pull/26087
3097 [nop]: https://github.com/rust-lang/rust/pull/26336
3098 [fat]: https://github.com/rust-lang/rust/pull/26411
3099 [dst]: https://github.com/rust-lang/rfcs/blob/master/text/0982-dst-coercion.md
3100 [parcodegen]: https://github.com/rust-lang/rust/pull/26018
3101 [packed]: https://github.com/rust-lang/rust/pull/25541
3102 [ad]: https://github.com/rust-lang/rust/pull/27382
3103 [win]: https://github.com/rust-lang/rust/pull/25350
3104
3105 Version 1.1.0 (2015-06-25)
3106 =========================
3107
3108 * ~850 changes, numerous bugfixes
3109
3110 Highlights
3111 ----------
3112
3113 * The [`std::fs` module has been expanded][fs] to expand the set of
3114   functionality exposed:
3115   * `DirEntry` now supports optimizations like `file_type` and `metadata` which
3116     don't incur a syscall on some platforms.
3117   * A `symlink_metadata` function has been added.
3118   * The `fs::Metadata` structure now lowers to its OS counterpart, providing
3119     access to all underlying information.
3120 * The compiler now contains extended explanations of many errors. When an error
3121   with an explanation occurs the compiler suggests using the `--explain` flag
3122   to read the explanation. Error explanations are also [available online][err-index].
3123 * Thanks to multiple [improvements][sk] to [type checking][pre], as
3124   well as other work, the time to bootstrap the compiler decreased by
3125   32%.
3126
3127 Libraries
3128 ---------
3129
3130 * The [`str::split_whitespace`] method splits a string on unicode
3131   whitespace boundaries.
3132 * On both Windows and Unix, new extension traits provide conversion of
3133   I/O types to and from the underlying system handles. On Unix, these
3134   traits are [`FromRawFd`] and [`AsRawFd`], on Windows `FromRawHandle`
3135   and `AsRawHandle`. These are implemented for `File`, `TcpStream`,
3136   `TcpListener`, and `UpdSocket`. Further implementations for
3137   `std::process` will be stabilized later.
3138 * On Unix, [`std::os::unix::symlink`] creates symlinks. On
3139   Windows, symlinks can be created with
3140   `std::os::windows::symlink_dir` and
3141   `std::os::windows::symlink_file`.
3142 * The `mpsc::Receiver` type can now be converted into an iterator with
3143   `into_iter` on the [`IntoIterator`] trait.
3144 * `Ipv4Addr` can be created from `u32` with the `From<u32>`
3145   implementation of the [`From`] trait.
3146 * The `Debug` implementation for `RangeFull` [creates output that is
3147   more consistent with other implementations][rf].
3148 * [`Debug` is implemented for `File`][file].
3149 * The `Default` implementation for `Arc` [no longer requires `Sync +
3150   Send`][arc].
3151 * [The `Iterator` methods `count`, `nth`, and `last` have been
3152   overridden for slices to have O(1) performance instead of O(n)][si].
3153 * Incorrect handling of paths on Windows has been improved in both the
3154   compiler and the standard library.
3155 * [`AtomicPtr` gained a `Default` implementation][ap].
3156 * In accordance with Rust's policy on arithmetic overflow `abs` now
3157   [panics on overflow when debug assertions are enabled][abs].
3158 * The [`Cloned`] iterator, which was accidentally left unstable for
3159   1.0 [has been stabilized][c].
3160 * The [`Incoming`] iterator, which iterates over incoming TCP
3161   connections, and which was accidentally unnamable in 1.0, [is now
3162   properly exported][inc].
3163 * [`BinaryHeap`] no longer corrupts itself [when functions called by
3164   `sift_up` or `sift_down` panic][bh].
3165 * The [`split_off`] method of `LinkedList` [no longer corrupts
3166   the list in certain scenarios][ll].
3167
3168 Misc
3169 ----
3170
3171 * Type checking performance [has improved notably][sk] with
3172   [multiple improvements][pre].
3173 * The compiler [suggests code changes][ch] for more errors.
3174 * rustc and it's build system have experimental support for [building
3175   toolchains against MUSL][m] instead of glibc on Linux.
3176 * The compiler defines the `target_env` cfg value, which is used for
3177   distinguishing toolchains that are otherwise for the same
3178   platform. Presently this is set to `gnu` for common GNU Linux
3179   targets and for MinGW targets, and `musl` for MUSL Linux targets.
3180 * The [`cargo rustc`][crc] command invokes a build with custom flags
3181   to rustc.
3182 * [Android executables are always position independent][pie].
3183 * [The `drop_with_repr_extern` lint warns about mixing `repr(C)`
3184   with `Drop`][drop].
3185
3186 [`str::split_whitespace`]: https://doc.rust-lang.org/nightly/std/primitive.str.html#method.split_whitespace
3187 [`FromRawFd`]: https://doc.rust-lang.org/nightly/std/os/unix/io/trait.FromRawFd.html
3188 [`AsRawFd`]: https://doc.rust-lang.org/nightly/std/os/unix/io/trait.AsRawFd.html
3189 [`std::os::unix::symlink`]: https://doc.rust-lang.org/nightly/std/os/unix/fs/fn.symlink.html
3190 [`IntoIterator`]: https://doc.rust-lang.org/nightly/std/iter/trait.IntoIterator.html
3191 [`From`]: https://doc.rust-lang.org/nightly/std/convert/trait.From.html
3192 [rf]: https://github.com/rust-lang/rust/pull/24491
3193 [err-index]: https://doc.rust-lang.org/error-index.html
3194 [sk]: https://github.com/rust-lang/rust/pull/24615
3195 [pre]: https://github.com/rust-lang/rust/pull/25323
3196 [file]: https://github.com/rust-lang/rust/pull/24598
3197 [ch]: https://github.com/rust-lang/rust/pull/24683
3198 [arc]: https://github.com/rust-lang/rust/pull/24695
3199 [si]: https://github.com/rust-lang/rust/pull/24701
3200 [ap]: https://github.com/rust-lang/rust/pull/24834
3201 [m]: https://github.com/rust-lang/rust/pull/24777
3202 [fs]: https://github.com/rust-lang/rfcs/blob/master/text/1044-io-fs-2.1.md
3203 [crc]: https://github.com/rust-lang/cargo/pull/1568
3204 [pie]: https://github.com/rust-lang/rust/pull/24953
3205 [abs]: https://github.com/rust-lang/rust/pull/25441
3206 [c]: https://github.com/rust-lang/rust/pull/25496
3207 [`Cloned`]: https://doc.rust-lang.org/nightly/std/iter/struct.Cloned.html
3208 [`Incoming`]: https://doc.rust-lang.org/nightly/std/net/struct.Incoming.html
3209 [inc]: https://github.com/rust-lang/rust/pull/25522
3210 [bh]: https://github.com/rust-lang/rust/pull/25856
3211 [`BinaryHeap`]: https://doc.rust-lang.org/nightly/std/collections/struct.BinaryHeap.html
3212 [ll]: https://github.com/rust-lang/rust/pull/26022
3213 [`split_off`]: https://doc.rust-lang.org/nightly/collections/linked_list/struct.LinkedList.html#method.split_off
3214 [drop]: https://github.com/rust-lang/rust/pull/24935
3215
3216 Version 1.0.0 (2015-05-15)
3217 ========================
3218
3219 * ~1500 changes, numerous bugfixes
3220
3221 Highlights
3222 ----------
3223
3224 * The vast majority of the standard library is now `#[stable]`. It is
3225   no longer possible to use unstable features with a stable build of
3226   the compiler.
3227 * Many popular crates on [crates.io] now work on the stable release
3228   channel.
3229 * Arithmetic on basic integer types now [checks for overflow in debug
3230   builds][overflow].
3231
3232 Language
3233 --------
3234
3235 * Several [restrictions have been added to trait coherence][coh] in
3236   order to make it easier for upstream authors to change traits
3237   without breaking downstream code.
3238 * Digits of binary and octal literals are [lexed more eagerly][lex] to
3239   improve error messages and macro behavior. For example, `0b1234` is
3240   now lexed as `0b1234` instead of two tokens, `0b1` and `234`.
3241 * Trait bounds [are always invariant][inv], eliminating the need for
3242   the `PhantomFn` and `MarkerTrait` lang items, which have been
3243   removed.
3244 * ["-" is no longer a valid character in crate names][cr], the `extern crate
3245   "foo" as bar` syntax has been replaced with `extern crate foo as
3246   bar`, and Cargo now automatically translates "-" in *package* names
3247   to underscore for the crate name.
3248 * [Lifetime shadowing is an error][lt].
3249 * [`Send` no longer implies `'static`][send-rfc].
3250 * [UFCS now supports trait-less associated paths][moar-ufcs] like
3251   `MyType::default()`.
3252 * Primitive types [now have inherent methods][prim-inherent],
3253   obviating the need for extension traits like `SliceExt`.
3254 * Methods with `Self: Sized` in their `where` clause are [considered
3255   object-safe][self-sized], allowing many extension traits like
3256   `IteratorExt` to be merged into the traits they extended.
3257 * You can now [refer to associated types][assoc-where] whose
3258   corresponding trait bounds appear only in a `where` clause.
3259 * The final bits of [OIBIT landed][oibit-final], meaning that traits
3260   like `Send` and `Sync` are now library-defined.
3261 * A [Reflect trait][reflect] was introduced, which means that
3262   downcasting via the `Any` trait is effectively limited to concrete
3263   types. This helps retain the potentially-important "parametricity"
3264   property: generic code cannot behave differently for different type
3265   arguments except in minor ways.
3266 * The `unsafe_destructor` feature is now deprecated in favor of the
3267   [new `dropck`][dropck]. This change is a major reduction in unsafe
3268   code.
3269
3270 Libraries
3271 ---------
3272
3273 * The `thread_local` module [has been renamed to `std::thread`][th].
3274 * The methods of `IteratorExt` [have been moved to the `Iterator`
3275   trait itself][ie].
3276 * Several traits that implement Rust's conventions for type
3277   conversions, `AsMut`, `AsRef`, `From`, and `Into` have been
3278   [centralized in the `std::convert` module][con].
3279 * The `FromError` trait [was removed in favor of `From`][fe].
3280 * The basic sleep function [has moved to
3281   `std::thread::sleep_ms`][slp].
3282 * The `splitn` function now takes an `n` parameter that represents the
3283   number of items yielded by the returned iterator [instead of the
3284   number of 'splits'][spl].
3285 * [On Unix, all file descriptors are `CLOEXEC` by default][clo].
3286 * [Derived implementations of `PartialOrd` now order enums according
3287   to their explicitly-assigned discriminants][po].
3288 * [Methods for searching strings are generic over `Pattern`s][pat],
3289   implemented presently by `&char`, `&str`, `FnMut(char) -> bool` and
3290   some others.
3291 * [In method resolution, object methods are resolved before inherent
3292   methods][meth].
3293 * [`String::from_str` has been deprecated in favor of the `From` impl,
3294   `String::from`][sf].
3295 * [`io::Error` implements `Sync`][ios].
3296 * [The `words` method on `&str` has been replaced with
3297   `split_whitespace`][sw], to avoid answering the tricky question, 'what is
3298   a word?'
3299 * The new path and IO modules are complete and `#[stable]`. This
3300   was the major library focus for this cycle.
3301 * The path API was [revised][path-normalize] to normalize `.`,
3302   adjusting the tradeoffs in favor of the most common usage.
3303 * A large number of remaining APIs in `std` were also stabilized
3304   during this cycle; about 75% of the non-deprecated API surface
3305   is now stable.
3306 * The new [string pattern API][string-pattern] landed, which makes
3307   the string slice API much more internally consistent and flexible.
3308 * A new set of [generic conversion traits][conversion] replaced
3309   many existing ad hoc traits.
3310 * Generic numeric traits were [completely removed][num-traits]. This
3311   was made possible thanks to inherent methods for primitive types,
3312   and the removal gives maximal flexibility for designing a numeric
3313   hierarchy in the future.
3314 * The `Fn` traits are now related via [inheritance][fn-inherit]
3315   and provide ergonomic [blanket implementations][fn-blanket].
3316 * The `Index` and `IndexMut` traits were changed to
3317   [take the index by value][index-value], enabling code like
3318   `hash_map["string"]` to work.
3319 * `Copy` now [inherits][copy-clone] from `Clone`, meaning that all
3320   `Copy` data is known to be `Clone` as well.
3321
3322 Misc
3323 ----
3324
3325 * Many errors now have extended explanations that can be accessed with
3326   the `--explain` flag to `rustc`.
3327 * Many new examples have been added to the standard library
3328   documentation.
3329 * rustdoc has received a number of improvements focused on completion
3330   and polish.
3331 * Metadata was tuned, shrinking binaries [by 27%][metadata-shrink].
3332 * Much headway was made on ecosystem-wide CI, making it possible
3333   to [compare builds for breakage][ci-compare].
3334
3335
3336 [crates.io]: http://crates.io
3337 [clo]: https://github.com/rust-lang/rust/pull/24034
3338 [coh]: https://github.com/rust-lang/rfcs/blob/master/text/1023-rebalancing-coherence.md
3339 [con]: https://github.com/rust-lang/rust/pull/23875
3340 [cr]: https://github.com/rust-lang/rust/pull/23419
3341 [fe]: https://github.com/rust-lang/rust/pull/23879
3342 [ie]: https://github.com/rust-lang/rust/pull/23300
3343 [inv]: https://github.com/rust-lang/rust/pull/23938
3344 [ios]: https://github.com/rust-lang/rust/pull/24133
3345 [lex]: https://github.com/rust-lang/rfcs/blob/master/text/0879-small-base-lexing.md
3346 [lt]: https://github.com/rust-lang/rust/pull/24057
3347 [meth]: https://github.com/rust-lang/rust/pull/24056
3348 [pat]: https://github.com/rust-lang/rfcs/blob/master/text/0528-string-patterns.md
3349 [po]: https://github.com/rust-lang/rust/pull/24270
3350 [sf]: https://github.com/rust-lang/rust/pull/24517
3351 [slp]: https://github.com/rust-lang/rust/pull/23949
3352 [spl]: https://github.com/rust-lang/rfcs/blob/master/text/0979-align-splitn-with-other-languages.md
3353 [sw]: https://github.com/rust-lang/rfcs/blob/master/text/1054-str-words.md
3354 [th]: https://github.com/rust-lang/rfcs/blob/master/text/0909-move-thread-local-to-std-thread.md
3355 [send-rfc]: https://github.com/rust-lang/rfcs/blob/master/text/0458-send-improvements.md
3356 [moar-ufcs]: https://github.com/rust-lang/rust/pull/22172
3357 [prim-inherent]: https://github.com/rust-lang/rust/pull/23104
3358 [overflow]: https://github.com/rust-lang/rfcs/blob/master/text/0560-integer-overflow.md
3359 [metadata-shrink]: https://github.com/rust-lang/rust/pull/22971
3360 [self-sized]: https://github.com/rust-lang/rust/pull/22301
3361 [assoc-where]: https://github.com/rust-lang/rust/pull/22512
3362 [string-pattern]: https://github.com/rust-lang/rust/pull/22466
3363 [oibit-final]: https://github.com/rust-lang/rust/pull/21689
3364 [reflect]: https://github.com/rust-lang/rust/pull/23712
3365 [conversion]: https://github.com/rust-lang/rfcs/pull/529
3366 [num-traits]: https://github.com/rust-lang/rust/pull/23549
3367 [index-value]: https://github.com/rust-lang/rust/pull/23601
3368 [dropck]: https://github.com/rust-lang/rfcs/pull/769
3369 [ci-compare]: https://gist.github.com/brson/a30a77836fbec057cbee
3370 [fn-inherit]: https://github.com/rust-lang/rust/pull/23282
3371 [fn-blanket]: https://github.com/rust-lang/rust/pull/23895
3372 [copy-clone]: https://github.com/rust-lang/rust/pull/23860
3373 [path-normalize]: https://github.com/rust-lang/rust/pull/23229
3374
3375
3376 Version 1.0.0-alpha.2 (2015-02-20)
3377 =====================================
3378
3379 * ~1300 changes, numerous bugfixes
3380
3381 * Highlights
3382
3383     * The various I/O modules were [overhauled][io-rfc] to reduce
3384       unnecessary abstractions and provide better interoperation with
3385       the underlying platform. The old `io` module remains temporarily
3386       at `std::old_io`.
3387     * The standard library now [participates in feature gating][feat],
3388       so use of unstable libraries now requires a `#![feature(...)]`
3389       attribute. The impact of this change is [described on the
3390       forum][feat-forum]. [RFC][feat-rfc].
3391
3392 * Language
3393
3394     * `for` loops [now operate on the `IntoIterator` trait][into],
3395       which eliminates the need to call `.iter()`, etc. to iterate
3396       over collections. There are some new subtleties to remember
3397       though regarding what sort of iterators various types yield, in
3398       particular that `for foo in bar { }` yields values from a move
3399       iterator, destroying the original collection. [RFC][into-rfc].
3400     * Objects now have [default lifetime bounds][obj], so you don't
3401       have to write `Box<Trait+'static>` when you don't care about
3402       storing references. [RFC][obj-rfc].
3403     * In types that implement `Drop`, [lifetimes must outlive the
3404       value][drop]. This will soon make it possible to safely
3405       implement `Drop` for types where `#[unsafe_destructor]` is now
3406       required. Read the [gorgeous RFC][drop-rfc] for details.
3407     * The fully qualified <T as Trait>::X syntax lets you set the Self
3408       type for a trait method or associated type. [RFC][ufcs-rfc].
3409     * References to types that implement `Deref<U>` now [automatically
3410       coerce to references][deref] to the dereferenced type `U`,
3411       e.g. `&T where T: Deref<U>` automatically coerces to `&U`. This
3412       should eliminate many unsightly uses of `&*`, as when converting
3413       from references to vectors into references to
3414       slices. [RFC][deref-rfc].
3415     * The explicit [closure kind syntax][close] (`|&:|`, `|&mut:|`,
3416       `|:|`) is obsolete and closure kind is inferred from context.
3417     * [`Self` is a keyword][Self].
3418
3419 * Libraries
3420
3421     * The `Show` and `String` formatting traits [have been
3422       renamed][fmt] to `Debug` and `Display` to more clearly reflect
3423       their related purposes. Automatically getting a string
3424       conversion to use with `format!("{:?}", something_to_debug)` is
3425       now written `#[derive(Debug)]`.
3426     * Abstract [OS-specific string types][osstr], `std::ff::{OsString,
3427       OsStr}`, provide strings in platform-specific encodings for easier
3428       interop with system APIs. [RFC][osstr-rfc].
3429     * The `boxed::into_raw` and `Box::from_raw` functions [convert
3430       between `Box<T>` and `*mut T`][boxraw], a common pattern for
3431       creating raw pointers.
3432
3433 * Tooling
3434
3435     * Certain long error messages of the form 'expected foo found bar'
3436       are now [split neatly across multiple
3437       lines][multiline]. Examples in the PR.
3438     * On Unix Rust can be [uninstalled][un] by running
3439       `/usr/local/lib/rustlib/uninstall.sh`.
3440     * The `#[rustc_on_unimplemented]` attribute, requiring the
3441       'on_unimplemented' feature, lets rustc [display custom error
3442       messages when a trait is expected to be implemented for a type
3443       but is not][onun].
3444
3445 * Misc
3446
3447     * Rust is tested against a [LALR grammar][lalr], which parses
3448       almost all the Rust files that rustc does.
3449
3450 [boxraw]: https://github.com/rust-lang/rust/pull/21318
3451 [close]: https://github.com/rust-lang/rust/pull/21843
3452 [deref]: https://github.com/rust-lang/rust/pull/21351
3453 [deref-rfc]: https://github.com/rust-lang/rfcs/blob/master/text/0241-deref-conversions.md
3454 [drop]: https://github.com/rust-lang/rust/pull/21972
3455 [drop-rfc]: https://github.com/rust-lang/rfcs/blob/master/text/0769-sound-generic-drop.md
3456 [feat]: https://github.com/rust-lang/rust/pull/21248
3457 [feat-forum]: https://users.rust-lang.org/t/psa-important-info-about-rustcs-new-feature-staging/82/5
3458 [feat-rfc]: https://github.com/rust-lang/rfcs/blob/master/text/0507-release-channels.md
3459 [fmt]: https://github.com/rust-lang/rust/pull/21457
3460 [into]: https://github.com/rust-lang/rust/pull/20790
3461 [into-rfc]: https://github.com/rust-lang/rfcs/blob/master/text/0235-collections-conventions.md#intoiterator-and-iterable
3462 [io-rfc]: https://github.com/rust-lang/rfcs/blob/master/text/0517-io-os-reform.md
3463 [lalr]: https://github.com/rust-lang/rust/pull/21452
3464 [multiline]: https://github.com/rust-lang/rust/pull/19870
3465 [obj]: https://github.com/rust-lang/rust/pull/22230
3466 [obj-rfc]: https://github.com/rust-lang/rfcs/blob/master/text/0599-default-object-bound.md
3467 [onun]: https://github.com/rust-lang/rust/pull/20889
3468 [osstr]: https://github.com/rust-lang/rust/pull/21488
3469 [osstr-rfc]: https://github.com/rust-lang/rfcs/blob/master/text/0517-io-os-reform.md
3470 [Self]: https://github.com/rust-lang/rust/pull/22158
3471 [ufcs-rfc]: https://github.com/rust-lang/rfcs/blob/master/text/0132-ufcs.md
3472 [un]: https://github.com/rust-lang/rust/pull/22256
3473
3474
3475 Version 1.0.0-alpha (2015-01-09)
3476 ==================================
3477
3478   * ~2400 changes, numerous bugfixes
3479
3480   * Highlights
3481
3482     * The language itself is considered feature complete for 1.0,
3483       though there will be many usability improvements and bugfixes
3484       before the final release.
3485     * Nearly 50% of the public API surface of the standard library has
3486       been declared 'stable'. Those interfaces are unlikely to change
3487       before 1.0.
3488     * The long-running debate over integer types has been
3489       [settled][ints]: Rust will ship with types named `isize` and
3490       `usize`, rather than `int` and `uint`, for pointer-sized
3491       integers. Guidelines will be rolled out during the alpha cycle.
3492     * Most crates that are not `std` have been moved out of the Rust
3493       distribution into the Cargo ecosystem so they can evolve
3494       separately and don't need to be stabilized as quickly, including
3495       'time', 'getopts', 'num', 'regex', and 'term'.
3496     * Documentation continues to be expanded with more API coverage, more
3497       examples, and more in-depth explanations. The guides have been
3498       consolidated into [The Rust Programming Language][trpl].
3499     * "[Rust By Example][rbe]" is now maintained by the Rust team.
3500     * All official Rust binary installers now come with [Cargo], the
3501       Rust package manager.
3502
3503 * Language
3504
3505     * Closures have been [completely redesigned][unboxed] to be
3506       implemented in terms of traits, can now be used as generic type
3507       bounds and thus monomorphized and inlined, or via an opaque
3508       pointer (boxed) as in the old system. The new system is often
3509       referred to as 'unboxed' closures.
3510     * Traits now support [associated types][assoc], allowing families
3511       of related types to be defined together and used generically in
3512       powerful ways.
3513     * Enum variants are [namespaced by their type names][enum].
3514     * [`where` clauses][where] provide a more versatile and attractive
3515       syntax for specifying generic bounds, though the previous syntax
3516       remains valid.
3517     * Rust again picks a [fallback][fb] (either i32 or f64) for uninferred
3518       numeric types.
3519     * Rust [no longer has a runtime][rt] of any description, and only
3520       supports OS threads, not green threads.
3521     * At long last, Rust has been overhauled for 'dynamically-sized
3522       types' ([DST]), which integrates 'fat pointers' (object types,
3523       arrays, and `str`) more deeply into the type system, making it
3524       more consistent.
3525     * Rust now has a general [range syntax][range], `i..j`, `i..`, and
3526       `..j` that produce range types and which, when combined with the
3527       `Index` operator and multidispatch, leads to a convenient slice
3528       notation, `[i..j]`.
3529     * The new range syntax revealed an ambiguity in the fixed-length
3530       array syntax, so now fixed length arrays [are written `[T;
3531       N]`][arrays].
3532     * The `Copy` trait is no longer implemented automatically. Unsafe
3533       pointers no longer implement `Sync` and `Send` so types
3534       containing them don't automatically either. `Sync` and `Send`
3535       are now 'unsafe traits' so one can "forcibly" implement them via
3536       `unsafe impl` if a type confirms to the requirements for them
3537       even though the internals do not (e.g. structs containing unsafe
3538       pointers like `Arc`). These changes are intended to prevent some
3539       footguns and are collectively known as [opt-in built-in
3540       traits][oibit] (though `Sync` and `Send` will soon become pure
3541       library types unknown to the compiler).
3542     * Operator traits now take their operands [by value][ops], and
3543       comparison traits can use multidispatch to compare one type
3544       against multiple other types, allowing e.g. `String` to be
3545       compared with `&str`.
3546     * `if let` and `while let` are no longer feature-gated.
3547     * Rust has adopted a more [uniform syntax for escaping unicode
3548       characters][unicode].
3549     * `macro_rules!` [has been declared stable][mac]. Though it is a
3550       flawed system it is sufficiently popular that it must be usable
3551       for 1.0. Effort has gone into [future-proofing][mac-future] it
3552       in ways that will allow other macro systems to be developed in
3553       parallel, and won't otherwise impact the evolution of the
3554       language.
3555     * The prelude has been [pared back significantly][prelude] such
3556       that it is the minimum necessary to support the most pervasive
3557       code patterns, and through [generalized where clauses][where]
3558       many of the prelude extension traits have been consolidated.
3559     * Rust's rudimentary reflection [has been removed][refl], as it
3560       incurred too much code generation for little benefit.
3561     * [Struct variants][structvars] are no longer feature-gated.
3562     * Trait bounds can be [polymorphic over lifetimes][hrtb]. Also
3563       known as 'higher-ranked trait bounds', this crucially allows
3564       unboxed closures to work.
3565     * Macros invocations surrounded by parens or square brackets and
3566       not terminated by a semicolon are [parsed as
3567       expressions][macros], which makes expressions like `vec![1i32,
3568       2, 3].len()` work as expected.
3569     * Trait objects now implement their traits automatically, and
3570       traits that can be coerced to objects now must be [object
3571       safe][objsafe].
3572     * Automatically deriving traits is now done with `#[derive(...)]`
3573       not `#[deriving(...)]` for [consistency with other naming
3574       conventions][derive].
3575     * Importing the containing module or enum at the same time as
3576       items or variants they contain is [now done with `self` instead
3577       of `mod`][self], as in use `foo::{self, bar}`
3578     * Glob imports are no longer feature-gated.
3579     * The `box` operator and `box` patterns have been feature-gated
3580       pending a redesign. For now unique boxes should be allocated
3581       like other containers, with `Box::new`.
3582
3583 * Libraries
3584
3585     * A [series][coll1] of [efforts][coll2] to establish
3586       [conventions][coll3] for collections types has resulted in API
3587       improvements throughout the standard library.
3588     * New [APIs for error handling][err] provide ergonomic interop
3589       between error types, and [new conventions][err-conv] describe
3590       more clearly the recommended error handling strategies in Rust.
3591     * The `fail!` macro has been renamed to [`panic!`][panic] so that
3592       it is easier to discuss failure in the context of error handling
3593       without making clarifications as to whether you are referring to
3594       the 'fail' macro or failure more generally.
3595     * On Linux, `OsRng` prefers the new, more reliable `getrandom`
3596       syscall when available.
3597     * The 'serialize' crate has been renamed 'rustc-serialize' and
3598       moved out of the distribution to Cargo. Although it is widely
3599       used now, it is expected to be superseded in the near future.
3600     * The `Show` formatter, typically implemented with
3601       `#[derive(Show)]` is [now requested with the `{:?}`
3602       specifier][show] and is intended for use by all types, for uses
3603       such as `println!` debugging. The new `String` formatter must be
3604       implemented by hand, uses the `{}` specifier, and is intended
3605       for full-fidelity conversions of things that can logically be
3606       represented as strings.
3607
3608 * Tooling
3609
3610     * [Flexible target specification][flex] allows rustc's code
3611       generation to be configured to support otherwise-unsupported
3612       platforms.
3613     * Rust comes with rust-gdb and rust-lldb scripts that launch their
3614       respective debuggers with Rust-appropriate pretty-printing.
3615     * The Windows installation of Rust is distributed with the
3616       MinGW components currently required to link binaries on that
3617       platform.
3618
3619 * Misc
3620
3621     * Nullable enum optimizations have been extended to more types so
3622       that e.g. `Option<Vec<T>>` and `Option<String>` take up no more
3623       space than the inner types themselves.
3624     * Work has begun on supporting AArch64.
3625
3626 [Cargo]: https://crates.io
3627 [unboxed]: http://smallcultfollowing.com/babysteps/blog/2014/11/26/purging-proc/
3628 [enum]: https://github.com/rust-lang/rfcs/blob/master/text/0390-enum-namespacing.md
3629 [flex]: https://github.com/rust-lang/rfcs/blob/master/text/0131-target-specification.md
3630 [err]: https://github.com/rust-lang/rfcs/blob/master/text/0201-error-chaining.md
3631 [err-conv]: https://github.com/rust-lang/rfcs/blob/master/text/0236-error-conventions.md
3632 [rt]: https://github.com/rust-lang/rfcs/blob/master/text/0230-remove-runtime.md
3633 [mac]: https://github.com/rust-lang/rfcs/blob/master/text/0453-macro-reform.md
3634 [mac-future]: https://github.com/rust-lang/rfcs/pull/550
3635 [DST]: http://smallcultfollowing.com/babysteps/blog/2014/01/05/dst-take-5/
3636 [coll1]: https://github.com/rust-lang/rfcs/blob/master/text/0235-collections-conventions.md
3637 [coll2]: https://github.com/rust-lang/rfcs/blob/master/text/0509-collections-reform-part-2.md
3638 [coll3]: https://github.com/rust-lang/rfcs/blob/master/text/0216-collection-views.md
3639 [ops]: https://github.com/rust-lang/rfcs/blob/master/text/0439-cmp-ops-reform.md
3640 [prelude]: https://github.com/rust-lang/rfcs/blob/master/text/0503-prelude-stabilization.md
3641 [where]: https://github.com/rust-lang/rfcs/blob/master/text/0135-where.md
3642 [refl]: https://github.com/rust-lang/rfcs/blob/master/text/0379-remove-reflection.md
3643 [panic]: https://github.com/rust-lang/rfcs/blob/master/text/0221-panic.md
3644 [structvars]: https://github.com/rust-lang/rfcs/blob/master/text/0418-struct-variants.md
3645 [hrtb]: https://github.com/rust-lang/rfcs/blob/master/text/0387-higher-ranked-trait-bounds.md
3646 [unicode]: https://github.com/rust-lang/rfcs/blob/master/text/0446-es6-unicode-escapes.md
3647 [oibit]: https://github.com/rust-lang/rfcs/blob/master/text/0019-opt-in-builtin-traits.md
3648 [macros]: https://github.com/rust-lang/rfcs/blob/master/text/0378-expr-macros.md
3649 [range]: https://github.com/rust-lang/rfcs/blob/master/text/0439-cmp-ops-reform.md#indexing-and-slicing
3650 [arrays]: https://github.com/rust-lang/rfcs/blob/master/text/0520-new-array-repeat-syntax.md
3651 [show]: https://github.com/rust-lang/rfcs/blob/master/text/0504-show-stabilization.md
3652 [derive]: https://github.com/rust-lang/rfcs/blob/master/text/0534-deriving2derive.md
3653 [self]: https://github.com/rust-lang/rfcs/blob/master/text/0532-self-in-use.md
3654 [fb]: https://github.com/rust-lang/rfcs/blob/master/text/0212-restore-int-fallback.md
3655 [objsafe]: https://github.com/rust-lang/rfcs/blob/master/text/0255-object-safety.md
3656 [assoc]: https://github.com/rust-lang/rfcs/blob/master/text/0195-associated-items.md
3657 [ints]: https://github.com/rust-lang/rfcs/pull/544#issuecomment-68760871
3658 [trpl]: https://doc.rust-lang.org/book/index.html
3659 [rbe]: http://rustbyexample.com/
3660
3661
3662 Version 0.12.0 (2014-10-09)
3663 =============================
3664
3665   * ~1900 changes, numerous bugfixes
3666
3667   * Highlights
3668
3669     * The introductory documentation (now called The Rust Guide) has
3670       been completely rewritten, as have a number of supplementary
3671       guides.
3672     * Rust's package manager, Cargo, continues to improve and is
3673       sometimes considered to be quite awesome.
3674     * Many API's in `std` have been reviewed and updated for
3675       consistency with the in-development Rust coding
3676       guidelines. The standard library documentation tracks
3677       stabilization progress.
3678     * Minor libraries have been moved out-of-tree to the rust-lang org
3679       on GitHub: uuid, semver, glob, num, hexfloat, fourcc. They can
3680       be installed with Cargo.
3681     * Lifetime elision allows lifetime annotations to be left off of
3682       function declarations in many common scenarios.
3683     * Rust now works on 64-bit Windows.
3684
3685   * Language
3686     * Indexing can be overloaded with the `Index` and `IndexMut`
3687       traits.
3688     * The `if let` construct takes a branch only if the `let` pattern
3689       matches, currently behind the 'if_let' feature gate.
3690     * 'where clauses', a more flexible syntax for specifying trait
3691       bounds that is more aesthetic, have been added for traits and
3692       free functions. Where clauses will in the future make it
3693       possible to constrain associated types, which would be
3694       impossible with the existing syntax.
3695     * A new slicing syntax (e.g. `[0..4]`) has been introduced behind
3696       the 'slicing_syntax' feature gate, and can be overloaded with
3697       the `Slice` or `SliceMut` traits.
3698     * The syntax for matching of sub-slices has been changed to use a
3699       postfix `..` instead of prefix (.e.g. `[a, b, c..]`), for
3700       consistency with other uses of `..` and to future-proof
3701       potential additional uses of the syntax.
3702     * The syntax for matching inclusive ranges in patterns has changed
3703       from `0..3` to `0...4` to be consistent with the exclusive range
3704       syntax for slicing.
3705     * Matching of sub-slices in non-tail positions (e.g.  `[a.., b,
3706       c]`) has been put behind the 'advanced_slice_patterns' feature
3707       gate and may be removed in the future.
3708     * Components of tuples and tuple structs can be extracted using
3709       the `value.0` syntax, currently behind the `tuple_indexing`
3710       feature gate.
3711     * The `#[crate_id]` attribute is no longer supported; versioning
3712       is handled by the package manager.
3713     * Renaming crate imports are now written `extern crate foo as bar`
3714       instead of `extern crate bar = foo`.
3715     * Renaming use statements are now written `use foo as bar` instead
3716       of `use bar = foo`.
3717     * `let` and `match` bindings and argument names in macros are now
3718       hygienic.
3719     * The new, more efficient, closure types ('unboxed closures') have
3720       been added under a feature gate, 'unboxed_closures'. These will
3721       soon replace the existing closure types, once higher-ranked
3722       trait lifetimes are added to the language.
3723     * `move` has been added as a keyword, for indicating closures
3724       that capture by value.
3725     * Mutation and assignment is no longer allowed in pattern guards.
3726     * Generic structs and enums can now have trait bounds.
3727     * The `Share` trait is now called `Sync` to free up the term
3728       'shared' to refer to 'shared reference' (the default reference
3729       type.
3730     * Dynamically-sized types have been mostly implemented,
3731       unifying the behavior of fat-pointer types with the rest of the
3732       type system.
3733     * As part of dynamically-sized types, the `Sized` trait has been
3734       introduced, which qualifying types implement by default, and
3735       which type parameters expect by default. To specify that a type
3736       parameter does not need to be sized, write `<Sized? T>`. Most
3737       types are `Sized`, notable exceptions being unsized arrays
3738       (`[T]`) and trait types.
3739     * Closures can return `!`, as in `|| -> !` or `proc() -> !`.
3740     * Lifetime bounds can now be applied to type parameters and object
3741       types.
3742     * The old, reference counted GC type, `Gc<T>` which was once
3743       denoted by the `@` sigil, has finally been removed. GC will be
3744       revisited in the future.
3745
3746   * Libraries
3747     * Library documentation has been improved for a number of modules.
3748     * Bit-vectors, collections::bitv has been modernized.
3749     * The url crate is deprecated in favor of
3750       http://github.com/servo/rust-url, which can be installed with
3751       Cargo.
3752     * Most I/O stream types can be cloned and subsequently closed from
3753       a different thread.
3754     * A `std::time::Duration` type has been added for use in I/O
3755       methods that rely on timers, as well as in the 'time' crate's
3756       `Timespec` arithmetic.
3757     * The runtime I/O abstraction layer that enabled the green thread
3758       scheduler to do non-thread-blocking I/O has been removed, along
3759       with the libuv-based implementation employed by the green thread
3760       scheduler. This will greatly simplify the future I/O work.
3761     * `collections::btree` has been rewritten to have a more
3762       idiomatic and efficient design.
3763
3764   * Tooling
3765     * rustdoc output now indicates the stability levels of API's.
3766     * The `--crate-name` flag can specify the name of the crate
3767       being compiled, like `#[crate_name]`.
3768     * The `-C metadata` specifies additional metadata to hash into
3769       symbol names, and `-C extra-filename` specifies additional
3770       information to put into the output filename, for use by the
3771       package manager for versioning.
3772     * debug info generation has continued to improve and should be
3773       more reliable under both gdb and lldb.
3774     * rustc has experimental support for compiling in parallel
3775       using the `-C codegen-units` flag.
3776     * rustc no longer encodes rpath information into binaries by
3777       default.
3778
3779   * Misc
3780     * Stack usage has been optimized with LLVM lifetime annotations.
3781     * Official Rust binaries on Linux are more compatible with older
3782       kernels and distributions, built on CentOS 5.10.
3783
3784
3785 Version 0.11.0 (2014-07-02)
3786 ==========================
3787
3788   * ~1700 changes, numerous bugfixes
3789
3790   * Language
3791     * ~[T] has been removed from the language. This type is superseded by
3792       the Vec<T> type.
3793     * ~str has been removed from the language. This type is superseded by
3794       the String type.
3795     * ~T has been removed from the language. This type is superseded by the
3796       Box<T> type.
3797     * @T has been removed from the language. This type is superseded by the
3798       standard library's std::gc::Gc<T> type.
3799     * Struct fields are now all private by default.
3800     * Vector indices and shift amounts are both required to be a `uint`
3801       instead of any integral type.
3802     * Byte character, byte string, and raw byte string literals are now all
3803       supported by prefixing the normal literal with a `b`.
3804     * Multiple ABIs are no longer allowed in an ABI string
3805     * The syntax for lifetimes on closures/procedures has been tweaked
3806       slightly: `<'a>|A, B|: 'b + K -> T`
3807     * Floating point modulus has been removed from the language; however it
3808       is still provided by a library implementation.
3809     * Private enum variants are now disallowed.
3810     * The `priv` keyword has been removed from the language.
3811     * A closure can no longer be invoked through a &-pointer.
3812     * The `use foo, bar, baz;` syntax has been removed from the language.
3813     * The transmute intrinsic no longer works on type parameters.
3814     * Statics now allow blocks/items in their definition.
3815     * Trait bounds are separated from objects with + instead of : now.
3816     * Objects can no longer be read while they are mutably borrowed.
3817     * The address of a static is now marked as insignificant unless the
3818       #[inline(never)] attribute is placed it.
3819     * The #[unsafe_destructor] attribute is now behind a feature gate.
3820     * Struct literals are no longer allowed in ambiguous positions such as
3821       if, while, match, and for..in.
3822     * Declaration of lang items and intrinsics are now feature-gated by
3823       default.
3824     * Integral literals no longer default to `int`, and floating point
3825       literals no longer default to `f64`. Literals must be suffixed with an
3826       appropriate type if inference cannot determine the type of the
3827       literal.
3828     * The Box<T> type is no longer implicitly borrowed to &mut T.
3829     * Procedures are now required to not capture borrowed references.
3830
3831   * Libraries
3832     * The standard library is now a "facade" over a number of underlying
3833       libraries. This means that development on the standard library should
3834       be speeder due to smaller crates, as well as a clearer line between
3835       all dependencies.
3836     * A new library, libcore, lives under the standard library's facade
3837       which is Rust's "0-assumption" library, suitable for embedded and
3838       kernel development for example.
3839     * A regex crate has been added to the standard distribution. This crate
3840       includes statically compiled regular expressions.
3841     * The unwrap/unwrap_err methods on Result require a Show bound for
3842       better error messages.
3843     * The return types of the std::comm primitives have been centralized
3844       around the Result type.
3845     * A number of I/O primitives have gained the ability to time out their
3846       operations.
3847     * A number of I/O primitives have gained the ability to close their
3848       reading/writing halves to cancel pending operations.
3849     * Reverse iterator methods have been removed in favor of `rev()` on
3850       their forward-iteration counterparts.
3851     * A bitflags! macro has been added to enable easy interop with C and
3852       management of bit flags.
3853     * A debug_assert! macro is now provided which is disabled when
3854       `--cfg ndebug` is passed to the compiler.
3855     * A graphviz crate has been added for creating .dot files.
3856     * The std::cast module has been migrated into std::mem.
3857     * The std::local_data api has been migrated from freestanding functions
3858       to being based on methods.
3859     * The Pod trait has been renamed to Copy.
3860     * jemalloc has been added as the default allocator for types.
3861     * The API for allocating memory has been changed to use proper alignment
3862       and sized deallocation
3863     * Connecting a TcpStream or binding a TcpListener is now based on a
3864       string address and a u16 port. This allows connecting to a hostname as
3865       opposed to an IP.
3866     * The Reader trait now contains a core method, read_at_least(), which
3867       correctly handles many repeated 0-length reads.
3868     * The process-spawning API is now centered around a builder-style
3869       Command struct.
3870     * The :? printing qualifier has been moved from the standard library to
3871       an external libdebug crate.
3872     * Eq/Ord have been renamed to PartialEq/PartialOrd. TotalEq/TotalOrd
3873       have been renamed to Eq/Ord.
3874     * The select/plural methods have been removed from format!. The escapes
3875       for { and } have also changed from \{ and \} to {{ and }},
3876       respectively.
3877     * The TaskBuilder API has been re-worked to be a true builder, and
3878       extension traits for spawning native/green tasks have been added.
3879
3880   * Tooling
3881     * All breaking changes to the language or libraries now have their
3882       commit message annotated with `[breaking-change]` to allow for easy
3883       discovery of breaking changes.
3884     * The compiler will now try to suggest how to annotate lifetimes if a
3885       lifetime-related error occurs.
3886     * Debug info continues to be improved greatly with general bug fixes and
3887       better support for situations like link time optimization (LTO).
3888     * Usage of syntax extensions when cross-compiling has been fixed.
3889     * Functionality equivalent to GCC & Clang's -ffunction-sections,
3890       -fdata-sections and --gc-sections has been enabled by default
3891     * The compiler is now stricter about where it will load module files
3892       from when a module is declared via `mod foo;`.
3893     * The #[phase(syntax)] attribute has been renamed to #[phase(plugin)].
3894       Syntax extensions are now discovered via a "plugin registrar" type
3895       which will be extended in the future to other various plugins.
3896     * Lints have been restructured to allow for dynamically loadable lints.
3897     * A number of rustdoc improvements:
3898       * The HTML output has been visually redesigned.
3899       * Markdown is now powered by hoedown instead of sundown.
3900       * Searching heuristics have been greatly improved.
3901       * The search index has been reduced in size by a great amount.
3902       * Cross-crate documentation via `pub use` has been greatly improved.
3903       * Primitive types are now hyperlinked and documented.
3904     * Documentation has been moved from static.rust-lang.org/doc to
3905       doc.rust-lang.org
3906     * A new sandbox, play.rust-lang.org, is available for running and
3907       sharing rust code examples on-line.
3908     * Unused attributes are now more robustly warned about.
3909     * The dead_code lint now warns about unused struct fields.
3910     * Cross-compiling to iOS is now supported.
3911     * Cross-compiling to mipsel is now supported.
3912     * Stability attributes are now inherited by default and no longer apply
3913       to intra-crate usage, only inter-crate usage.
3914     * Error message related to non-exhaustive match expressions have been
3915       greatly improved.
3916
3917
3918 Version 0.10 (2014-04-03)
3919 =========================
3920
3921   * ~1500 changes, numerous bugfixes
3922
3923   * Language
3924     * A new RFC process is now in place for modifying the language.
3925     * Patterns with `@`-pointers have been removed from the language.
3926     * Patterns with unique vectors (`~[T]`) have been removed from the
3927       language.
3928     * Patterns with unique strings (`~str`) have been removed from the
3929       language.
3930     * `@str` has been removed from the language.
3931     * `@[T]` has been removed from the language.
3932     * `@self` has been removed from the language.
3933     * `@Trait` has been removed from the language.
3934     * Headers on `~` allocations which contain `@` boxes inside the type for
3935       reference counting have been removed.
3936     * The semantics around the lifetimes of temporary expressions have changed,
3937       see #3511 and #11585 for more information.
3938     * Cross-crate syntax extensions are now possible, but feature gated. See
3939       #11151 for more information. This includes both `macro_rules!` macros as
3940       well as syntax extensions such as `format!`.
3941     * New lint modes have been added, and older ones have been turned on to be
3942       warn-by-default.
3943       * Unnecessary parentheses
3944       * Uppercase statics
3945       * Camel Case types
3946       * Uppercase variables
3947       * Publicly visible private types
3948       * `#[deriving]` with raw pointers
3949     * Unsafe functions can no longer be coerced to closures.
3950     * Various obscure macros such as `log_syntax!` are now behind feature gates.
3951     * The `#[simd]` attribute is now behind a feature gate.
3952     * Visibility is no longer allowed on `extern crate` statements, and
3953       unnecessary visibility (`priv`) is no longer allowed on `use` statements.
3954     * Trailing commas are now allowed in argument lists and tuple patterns.
3955     * The `do` keyword has been removed, it is now a reserved keyword.
3956     * Default type parameters have been implemented, but are feature gated.
3957     * Borrowed variables through captures in closures are now considered soundly.
3958     * `extern mod` is now `extern crate`
3959     * The `Freeze` trait has been removed.
3960     * The `Share` trait has been added for types that can be shared among
3961       threads.
3962     * Labels in macros are now hygienic.
3963     * Expression/statement macro invocations can be delimited with `{}` now.
3964     * Treatment of types allowed in `static mut` locations has been tweaked.
3965     * The `*` and `.` operators are now overloadable through the `Deref` and
3966       `DerefMut` traits.
3967     * `~Trait` and `proc` no longer have `Send` bounds by default.
3968     * Partial type hints are now supported with the `_` type marker.
3969     * An `Unsafe` type was introduced for interior mutability. It is now
3970       considered undefined to transmute from `&T` to `&mut T` without using the
3971       `Unsafe` type.
3972     * The #[linkage] attribute was implemented for extern statics/functions.
3973     * The inner attribute syntax has changed from `#[foo];` to `#![foo]`.
3974     * `Pod` was renamed to `Copy`.
3975
3976   * Libraries
3977     * The `libextra` library has been removed. It has now been decomposed into
3978       component libraries with smaller and more focused nuggets of
3979       functionality. The full list of libraries can be found on the
3980       documentation index page.
3981     * std: `std::condition` has been removed. All I/O errors are now propagated
3982       through the `Result` type. In order to assist with error handling, a
3983       `try!` macro for unwrapping errors with an early return and a lint for
3984       unused results has been added. See #12039 for more information.
3985     * std: The `vec` module has been renamed to `slice`.
3986     * std: A new vector type, `Vec<T>`, has been added in preparation for DST.
3987       This will become the only growable vector in the future.
3988     * std: `std::io` now has more public-reexports. Types such as `BufferedReader`
3989       are now found at `std::io::BufferedReader` instead of
3990       `std::io::buffered::BufferedReader`.
3991     * std: `print` and `println` are no longer in the prelude, the `print!` and
3992       `println!` macros are intended to be used instead.
3993     * std: `Rc` now has a `Weak` pointer for breaking cycles, and it no longer
3994       attempts to statically prevent cycles.
3995     * std: The standard distribution is adopting the policy of pushing failure
3996       to the user rather than failing in libraries. Many functions (such as
3997       `slice::last()`) now return `Option<T>` instead of `T` + failing.
3998     * std: `fmt::Default` has been renamed to `fmt::Show`, and it now has a new
3999       deriving mode: `#[deriving(Show)]`.
4000     * std: `ToStr` is now implemented for all types implementing `Show`.
4001     * std: The formatting trait methods now take `&self` instead of `&T`
4002     * std: The `invert()` method on iterators has been renamed to `rev()`
4003     * std: `std::num` has seen a reduction in the genericity of its traits,
4004       consolidating functionality into a few core traits.
4005     * std: Backtraces are now printed on task failure if the environment
4006       variable `RUST_BACKTRACE` is present.
4007     * std: Naming conventions for iterators have been standardized. More details
4008       can be found on the wiki's style guide.
4009     * std: `eof()` has been removed from the `Reader` trait. Specific types may
4010       still implement the function.
4011     * std: Networking types are now cloneable to allow simultaneous reads/writes.
4012     * std: `assert_approx_eq!` has been removed
4013     * std: The `e` and `E` formatting specifiers for floats have been added to
4014       print them in exponential notation.
4015     * std: The `Times` trait has been removed
4016     * std: Indications of variance and opting out of builtin bounds is done
4017       through marker types in `std::kinds::marker` now
4018     * std: `hash` has been rewritten, `IterBytes` has been removed, and
4019       `#[deriving(Hash)]` is now possible.
4020     * std: `SharedChan` has been removed, `Sender` is now cloneable.
4021     * std: `Chan` and `Port` were renamed to `Sender` and `Receiver`.
4022     * std: `Chan::new` is now `channel()`.
4023     * std: A new synchronous channel type has been implemented.
4024     * std: A `select!` macro is now provided for selecting over `Receiver`s.
4025     * std: `hashmap` and `trie` have been moved to `libcollections`
4026     * std: `run` has been rolled into `io::process`
4027     * std: `assert_eq!` now uses `{}` instead of `{:?}`
4028     * std: The equality and comparison traits have seen some reorganization.
4029     * std: `rand` has moved to `librand`.
4030     * std: `to_{lower,upper}case` has been implemented for `char`.
4031     * std: Logging has been moved to `liblog`.
4032     * collections: `HashMap` has been rewritten for higher performance and less
4033       memory usage.
4034     * native: The default runtime is now `libnative`. If `libgreen` is desired,
4035       it can be booted manually. The runtime guide has more information and
4036       examples.
4037     * native: All I/O functionality except signals has been implemented.
4038     * green: Task spawning with `libgreen` has been optimized with stack caching
4039       and various trimming of code.
4040     * green: Tasks spawned by `libgreen` now have an unmapped guard page.
4041     * sync: The `extra::sync` module has been updated to modern rust (and moved
4042       to the `sync` library), tweaking and improving various interfaces while
4043       dropping redundant functionality.
4044     * sync: A new `Barrier` type has been added to the `sync` library.
4045     * sync: An efficient mutex for native and green tasks has been implemented.
4046     * serialize: The `base64` module has seen some improvement. It treats
4047       newlines better, has non-string error values, and has seen general
4048       cleanup.
4049     * fourcc: A `fourcc!` macro was introduced
4050     * hexfloat: A `hexfloat!` macro was implemented for specifying floats via a
4051       hexadecimal literal.
4052
4053   * Tooling
4054     * `rustpkg` has been deprecated and removed from the main repository. Its
4055       replacement, `cargo`, is under development.
4056     * Nightly builds of rust are now available
4057     * The memory usage of rustc has been improved many times throughout this
4058       release cycle.
4059     * The build process supports disabling rpath support for the rustc binary
4060       itself.
4061     * Code generation has improved in some cases, giving more information to the
4062       LLVM optimization passes to enable more extensive optimizations.
4063     * Debuginfo compatibility with lldb on OSX has been restored.
4064     * The master branch is now gated on an android bot, making building for
4065       android much more reliable.
4066     * Output flags have been centralized into one `--emit` flag.
4067     * Crate type flags have been centralized into one `--crate-type` flag.
4068     * Codegen flags have been consolidated behind a `-C` flag.
4069     * Linking against outdated crates now has improved error messages.
4070     * Error messages with lifetimes will often suggest how to annotate the
4071       function to fix the error.
4072     * Many more types are documented in the standard library, and new guides
4073       were written.
4074     * Many `rustdoc` improvements:
4075       * code blocks are syntax highlighted.
4076       * render standalone markdown files.
4077       * the --test flag tests all code blocks by default.
4078       * exported macros are displayed.
4079       * reexported types have their documentation inlined at the location of the
4080         first reexport.
4081       * search works across crates that have been rendered to the same output
4082         directory.
4083
4084
4085 Version 0.9 (2014-01-09)
4086 ==========================
4087
4088    * ~1800 changes, numerous bugfixes
4089
4090    * Language
4091       * The `float` type has been removed. Use `f32` or `f64` instead.
4092       * A new facility for enabling experimental features (feature gating) has
4093         been added, using the crate-level `#[feature(foo)]` attribute.
4094       * Managed boxes (@) are now behind a feature gate
4095         (`#[feature(managed_boxes)]`) in preparation for future removal. Use the
4096         standard library's `Gc` or `Rc` types instead.
4097       * `@mut` has been removed. Use `std::cell::{Cell, RefCell}` instead.
4098       * Jumping back to the top of a loop is now done with `continue` instead of
4099         `loop`.
4100       * Strings can no longer be mutated through index assignment.
4101       * Raw strings can be created via the basic `r"foo"` syntax or with matched
4102         hash delimiters, as in `r###"foo"###`.
4103       * `~fn` is now written `proc (args) -> retval { ... }` and may only be
4104         called once.
4105       * The `&fn` type is now written `|args| -> ret` to match the literal form.
4106       * `@fn`s have been removed.
4107       * `do` only works with procs in order to make it obvious what the cost
4108         of `do` is.
4109       * Single-element tuple-like structs can no longer be dereferenced to
4110         obtain the inner value. A more comprehensive solution for overloading
4111         the dereference operator will be provided in the future.
4112       * The `#[link(...)]` attribute has been replaced with
4113         `#[crate_id = "name#vers"]`.
4114       * Empty `impl`s must be terminated with empty braces and may not be
4115         terminated with a semicolon.
4116       * Keywords are no longer allowed as lifetime names; the `self` lifetime
4117         no longer has any special meaning.
4118       * The old `fmt!` string formatting macro has been removed.
4119       * `printf!` and `printfln!` (old-style formatting) removed in favor of
4120         `print!` and `println!`.
4121       * `mut` works in patterns now, as in `let (mut x, y) = (1, 2);`.
4122       * The `extern mod foo (name = "bar")` syntax has been removed. Use
4123         `extern mod foo = "bar"` instead.
4124       * New reserved keywords: `alignof`, `offsetof`, `sizeof`.
4125       * Macros can have attributes.
4126       * Macros can expand to items with attributes.
4127       * Macros can expand to multiple items.
4128       * The `asm!` macro is feature-gated (`#[feature(asm)]`).
4129       * Comments may be nested.
4130       * Values automatically coerce to trait objects they implement, without
4131         an explicit `as`.
4132       * Enum discriminants are no longer an entire word but as small as needed to
4133         contain all the variants. The `repr` attribute can be used to override
4134         the discriminant size, as in `#[repr(int)]` for integer-sized, and
4135         `#[repr(C)]` to match C enums.
4136       * Non-string literals are not allowed in attributes (they never worked).
4137       * The FFI now supports variadic functions.
4138       * Octal numeric literals, as in `0o7777`.
4139       * The `concat!` syntax extension performs compile-time string concatenation.
4140       * The `#[fixed_stack_segment]` and `#[rust_stack]` attributes have been
4141         removed as Rust no longer uses segmented stacks.
4142       * Non-ascii identifiers are feature-gated (`#[feature(non_ascii_idents)]`).
4143       * Ignoring all fields of an enum variant or tuple-struct is done with `..`,
4144         not `*`; ignoring remaining fields of a struct is also done with `..`,
4145         not `_`; ignoring a slice of a vector is done with `..`, not `.._`.
4146       * `rustc` supports the "win64" calling convention via `extern "win64"`.
4147       * `rustc` supports the "system" calling convention, which defaults to the
4148         preferred convention for the target platform, "stdcall" on 32-bit Windows,
4149         "C" elsewhere.
4150       * The `type_overflow` lint (default: warn) checks literals for overflow.
4151       * The `unsafe_block` lint (default: allow) checks for usage of `unsafe`.
4152       * The `attribute_usage` lint (default: warn) warns about unknown
4153         attributes.
4154       * The `unknown_features` lint (default: warn) warns about unknown
4155         feature gates.
4156       * The `dead_code` lint (default: warn) checks for dead code.
4157       * Rust libraries can be linked statically to one another
4158       * `#[link_args]` is behind the `link_args` feature gate.
4159       * Native libraries are now linked with `#[link(name = "foo")]`
4160       * Native libraries can be statically linked to a rust crate
4161         (`#[link(name = "foo", kind = "static")]`).
4162       * Native OS X frameworks are now officially supported
4163         (`#[link(name = "foo", kind = "framework")]`).
4164       * The `#[thread_local]` attribute creates thread-local (not task-local)
4165         variables. Currently behind the `thread_local` feature gate.
4166       * The `return` keyword may be used in closures.
4167       * Types that can be copied via a memcpy implement the `Pod` kind.
4168       * The `cfg` attribute can now be used on struct fields and enum variants.
4169
4170    * Libraries
4171       * std: The `option` and `result` API's have been overhauled to make them
4172         simpler, more consistent, and more composable.
4173       * std: The entire `std::io` module has been replaced with one that is
4174         more comprehensive and that properly interfaces with the underlying
4175         scheduler. File, TCP, UDP, Unix sockets, pipes, and timers are all
4176         implemented.
4177       * std: `io::util` contains a number of useful implementations of
4178         `Reader` and `Writer`, including `NullReader`, `NullWriter`,
4179         `ZeroReader`, `TeeReader`.
4180       * std: The reference counted pointer type `extra::rc` moved into std.
4181       * std: The `Gc` type in the `gc` module will replace `@` (it is currently
4182         just a wrapper around it).
4183       * std: The `Either` type has been removed.
4184       * std: `fmt::Default` can be implemented for any type to provide default
4185         formatting to the `format!` macro, as in `format!("{}", myfoo)`.
4186       * std: The `rand` API continues to be tweaked.
4187       * std: The `rust_begin_unwind` function, useful for inserting breakpoints
4188         on failure in gdb, is now named `rust_fail`.
4189       * std: The `each_key` and `each_value` methods on `HashMap` have been
4190         replaced by the `keys` and `values` iterators.
4191       * std: Functions dealing with type size and alignment have moved from the
4192         `sys` module to the `mem` module.
4193       * std: The `path` module was written and API changed.
4194       * std: `str::from_utf8` has been changed to cast instead of allocate.
4195       * std: `starts_with` and `ends_with` methods added to vectors via the
4196         `ImmutableEqVector` trait, which is in the prelude.
4197       * std: Vectors can be indexed with the `get_opt` method, which returns `None`
4198         if the index is out of bounds.
4199       * std: Task failure no longer propagates between tasks, as the model was
4200         complex, expensive, and incompatible with thread-based tasks.
4201       * std: The `Any` type can be used for dynamic typing.
4202       * std: `~Any` can be passed to the `fail!` macro and retrieved via
4203         `task::try`.
4204       * std: Methods that produce iterators generally do not have an `_iter`
4205         suffix now.
4206       * std: `cell::Cell` and `cell::RefCell` can be used to introduce mutability
4207         roots (mutable fields, etc.). Use instead of e.g. `@mut`.
4208       * std: `util::ignore` renamed to `prelude::drop`.
4209       * std: Slices have `sort` and `sort_by` methods via the `MutableVector`
4210         trait.
4211       * std: `vec::raw` has seen a lot of cleanup and API changes.
4212       * std: The standard library no longer includes any C++ code, and very
4213         minimal C, eliminating the dependency on libstdc++.
4214       * std: Runtime scheduling and I/O functionality has been factored out into
4215         extensible interfaces and is now implemented by two different crates:
4216         libnative, for native threading and I/O; and libgreen, for green threading
4217         and I/O. This paves the way for using the standard library in more limited
4218         embedded environments.
4219       * std: The `comm` module has been rewritten to be much faster, have a
4220         simpler, more consistent API, and to work for both native and green
4221         threading.
4222       * std: All libuv dependencies have been moved into the rustuv crate.
4223       * native: New implementations of runtime scheduling on top of OS threads.
4224       * native: New native implementations of TCP, UDP, file I/O, process spawning,
4225         and other I/O.
4226       * green: The green thread scheduler and message passing types are almost
4227         entirely lock-free.
4228       * extra: The `flatpipes` module had bitrotted and was removed.
4229       * extra: All crypto functions have been removed and Rust now has a policy of
4230         not reimplementing crypto in the standard library. In the future crypto
4231         will be provided by external crates with bindings to established libraries.
4232       * extra: `c_vec` has been modernized.
4233       * extra: The `sort` module has been removed. Use the `sort` method on
4234         mutable slices.
4235
4236    * Tooling
4237       * The `rust` and `rusti` commands have been removed, due to lack of
4238         maintenance.
4239       * `rustdoc` was completely rewritten.
4240       * `rustdoc` can test code examples in documentation.
4241       * `rustpkg` can test packages with the argument, 'test'.
4242       * `rustpkg` supports arbitrary dependencies, including C libraries.
4243       * `rustc`'s support for generating debug info is improved again.
4244       * `rustc` has better error reporting for unbalanced delimiters.
4245       * `rustc`'s JIT support was removed due to bitrot.
4246       * Executables and static libraries can be built with LTO (-Z lto)
4247       * `rustc` adds a `--dep-info` flag for communicating dependencies to
4248         build tools.
4249
4250
4251 Version 0.8 (2013-09-26)
4252 ============================
4253
4254    * ~2200 changes, numerous bugfixes
4255
4256    * Language
4257       * The `for` loop syntax has changed to work with the `Iterator` trait.
4258       * At long last, unwinding works on Windows.
4259       * Default methods are ready for use.
4260       * Many trait inheritance bugs fixed.
4261       * Owned and borrowed trait objects work more reliably.
4262       * `copy` is no longer a keyword. It has been replaced by the `Clone` trait.
4263       * rustc can omit emission of code for the `debug!` macro if it is passed
4264         `--cfg ndebug`
4265       * mod.rs is now "blessed". When loading `mod foo;`, rustc will now look
4266         for foo.rs, then foo/mod.rs, and will generate an error when both are
4267         present.
4268       * Strings no longer contain trailing nulls. The new `std::c_str` module
4269         provides new mechanisms for converting to C strings.
4270       * The type of foreign functions is now `extern "C" fn` instead of `*u8'.
4271       * The FFI has been overhauled such that foreign functions are called directly,
4272         instead of through a stack-switching wrapper.
4273       * Calling a foreign function must be done through a Rust function with the
4274         `#[fixed_stack_segment]` attribute.
4275       * The `externfn!` macro can be used to declare both a foreign function and
4276         a `#[fixed_stack_segment]` wrapper at once.
4277       * `pub` and `priv` modifiers on `extern` blocks are no longer parsed.
4278       * `unsafe` is no longer allowed on extern fns - they are all unsafe.
4279       * `priv` is disallowed everywhere except for struct fields and enum variants.
4280       * `&T` (besides `&'static T`) is no longer allowed in `@T`.
4281       * `ref` bindings in irrefutable patterns work correctly now.
4282       * `char` is now prevented from containing invalid code points.
4283       * Casting to `bool` is no longer allowed.
4284       * `\0` is now accepted as an escape in chars and strings.
4285       * `yield` is a reserved keyword.
4286       * `typeof` is a reserved keyword.
4287       * Crates may be imported by URL with `extern mod foo = "url";`.
4288       * Explicit enum discriminants may be given as uints as in `enum E { V = 0u }`
4289       * Static vectors can be initialized with repeating elements,
4290         e.g. `static foo: [u8, .. 100]: [0, .. 100];`.
4291       * Static structs can be initialized with functional record update,
4292         e.g. `static foo: Foo = Foo { a: 5, .. bar };`.
4293       * `cfg!` can be used to conditionally execute code based on the crate
4294         configuration, similarly to `#[cfg(...)]`.
4295       * The `unnecessary_qualification` lint detects unneeded module
4296         prefixes (default: allow).
4297       * Arithmetic operations have been implemented on the SIMD types in
4298         `std::unstable::simd`.
4299       * Exchange allocation headers were removed, reducing memory usage.
4300       * `format!` implements a completely new, extensible, and higher-performance
4301         string formatting system. It will replace `fmt!`.
4302       * `print!` and `println!` write formatted strings (using the `format!`
4303         extension) to stdout.
4304       * `write!` and `writeln!` write formatted strings (using the `format!`
4305         extension) to the new Writers in `std::rt::io`.
4306       * The library section in which a function or static is placed may
4307         be specified with `#[link_section = "..."]`.
4308       * The `proto!` syntax extension for defining bounded message protocols
4309         was removed.
4310       * `macro_rules!` is hygienic for `let` declarations.
4311       * The `#[export_name]` attribute specifies the name of a symbol.
4312       * `unreachable!` can be used to indicate unreachable code, and fails
4313         if executed.
4314
4315    * Libraries
4316       * std: Transitioned to the new runtime, written in Rust.
4317       * std: Added an experimental I/O library, `rt::io`, based on the new
4318         runtime.
4319       * std: A new generic `range` function was added to the prelude, replacing
4320         `uint::range` and friends.
4321       * std: `range_rev` no longer exists. Since range is an iterator it can be
4322         reversed with `range(lo, hi).invert()`.
4323       * std: The `chain` method on option renamed to `and_then`; `unwrap_or_default`
4324         renamed to `unwrap_or`.
4325       * std: The `iterator` module was renamed to `iter`.
4326       * std: Integral types now support the `checked_add`, `checked_sub`, and
4327         `checked_mul` operations for detecting overflow.
4328       * std: Many methods in `str`, `vec`, `option, `result` were renamed for
4329         consistency.
4330       * std: Methods are standardizing on conventions for casting methods:
4331         `to_foo` for copying, `into_foo` for moving, `as_foo` for temporary
4332         and cheap casts.
4333       * std: The `CString` type in `c_str` provides new ways to convert to and
4334         from C strings.
4335       * std: `DoubleEndedIterator` can yield elements in two directions.
4336       * std: The `mut_split` method on vectors partitions an `&mut [T]` into
4337         two splices.
4338       * std: `str::from_bytes` renamed to `str::from_utf8`.
4339       * std: `pop_opt` and `shift_opt` methods added to vectors.
4340       * std: The task-local data interface no longer uses @, and keys are
4341         no longer function pointers.
4342       * std: The `swap_unwrap` method of `Option` renamed to `take_unwrap`.
4343       * std: Added `SharedPort` to `comm`.
4344       * std: `Eq` has a default method for `ne`; only `eq` is required
4345         in implementations.
4346       * std: `Ord` has default methods for `le`, `gt` and `ge`; only `lt`
4347         is required in implementations.
4348       * std: `is_utf8` performance is improved, impacting many string functions.
4349       * std: `os::MemoryMap` provides cross-platform mmap.
4350       * std: `ptr::offset` is now unsafe, but also more optimized. Offsets that
4351         are not 'in-bounds' are considered undefined.
4352       * std: Many freestanding functions in `vec` removed in favor of methods.
4353       * std: Many freestanding functions on scalar types removed in favor of
4354         methods.
4355       * std: Many options to task builders were removed since they don't make
4356         sense in the new scheduler design.
4357       * std: More containers implement `FromIterator` so can be created by the
4358         `collect` method.
4359       * std: More complete atomic types in `unstable::atomics`.
4360       * std: `comm::PortSet` removed.
4361       * std: Mutating methods in the `Set` and `Map` traits have been moved into
4362         the `MutableSet` and `MutableMap` traits. `Container::is_empty`,
4363         `Map::contains_key`, `MutableMap::insert`, and `MutableMap::remove` have
4364         default implementations.
4365       * std: Various `from_str` functions were removed in favor of a generic
4366         `from_str` which is available in the prelude.
4367       * std: `util::unreachable` removed in favor of the `unreachable!` macro.
4368       * extra: `dlist`, the doubly-linked list was modernized.
4369       * extra: Added a `hex` module with `ToHex` and `FromHex` traits.
4370       * extra: Added `glob` module, replacing `std::os::glob`.
4371       * extra: `rope` was removed.
4372       * extra: `deque` was renamed to `ringbuf`. `RingBuf` implements `Deque`.
4373       * extra: `net`, and `timer` were removed. The experimental replacements
4374         are `std::rt::io::net` and `std::rt::io::timer`.
4375       * extra: Iterators implemented for `SmallIntMap`.
4376       * extra: Iterators implemented for `Bitv` and `BitvSet`.
4377       * extra: `SmallIntSet` removed. Use `BitvSet`.
4378       * extra: Performance of JSON parsing greatly improved.
4379       * extra: `semver` updated to SemVer 2.0.0.
4380       * extra: `term` handles more terminals correctly.
4381       * extra: `dbg` module removed.
4382       * extra: `par` module removed.
4383       * extra: `future` was cleaned up, with some method renames.
4384       * extra: Most free functions in `getopts` were converted to methods.
4385
4386    * Other
4387       * rustc's debug info generation (`-Z debug-info`) is greatly improved.
4388       * rustc accepts `--target-cpu` to compile to a specific CPU architecture,
4389         similarly to gcc's `--march` flag.
4390       * rustc's performance compiling small crates is much better.
4391       * rustpkg has received many improvements.
4392       * rustpkg supports git tags as package IDs.
4393       * rustpkg builds into target-specific directories so it can be used for
4394         cross-compiling.
4395       * The number of concurrent test tasks is controlled by the environment
4396         variable RUST_TEST_TASKS.
4397       * The test harness can now report metrics for benchmarks.
4398       * All tools have man pages.
4399       * Programs compiled with `--test` now support the `-h` and `--help` flags.
4400       * The runtime uses jemalloc for allocations.
4401       * Segmented stacks are temporarily disabled as part of the transition to
4402         the new runtime. Stack overflows are possible!
4403       * A new documentation backend, rustdoc_ng, is available for use. It is
4404         still invoked through the normal `rustdoc` command.
4405
4406
4407 Version 0.7 (2013-07-03)
4408 =======================
4409
4410    * ~2000 changes, numerous bugfixes
4411
4412    * Language
4413       * `impl`s no longer accept a visibility qualifier. Put them on methods
4414         instead.
4415       * The borrow checker has been rewritten with flow-sensitivity, fixing
4416         many bugs and inconveniences.
4417       * The `self` parameter no longer implicitly means `&'self self`,
4418         and can be explicitly marked with a lifetime.
4419       * Overloadable compound operators (`+=`, etc.) have been temporarily
4420         removed due to bugs.
4421       * The `for` loop protocol now requires `for`-iterators to return `bool`
4422         so they compose better.
4423       * The `Durable` trait is replaced with the `'static` bounds.
4424       * Trait default methods work more often.
4425       * Structs with the `#[packed]` attribute have byte alignment and
4426         no padding between fields.
4427       * Type parameters bound by `Copy` must now be copied explicitly with
4428         the `copy` keyword.
4429       * It is now illegal to move out of a dereferenced unsafe pointer.
4430       * `Option<~T>` is now represented as a nullable pointer.
4431       * `@mut` does dynamic borrow checks correctly.
4432       * The `main` function is only detected at the topmost level of the crate.
4433         The `#[main]` attribute is still valid anywhere.
4434       * Struct fields may no longer be mutable. Use inherited mutability.
4435       * The `#[no_send]` attribute makes a type that would otherwise be
4436         `Send`, not.
4437       * The `#[no_freeze]` attribute makes a type that would otherwise be
4438         `Freeze`, not.
4439       * Unbounded recursion will abort the process after reaching the limit
4440         specified by the `RUST_MAX_STACK` environment variable (default: 1GB).
4441       * The `vecs_implicitly_copyable` lint mode has been removed. Vectors
4442         are never implicitly copyable.
4443       * `#[static_assert]` makes compile-time assertions about static bools.
4444       * At long last, 'argument modes' no longer exist.
4445       * The rarely used `use mod` statement no longer exists.
4446
4447    * Syntax extensions
4448       * `fail!` and `assert!` accept `~str`, `&'static str` or `fmt!`-style
4449         argument list.
4450       * `Encodable`, `Decodable`, `Ord`, `TotalOrd`, `TotalEq`, `DeepClone`,
4451         `Rand`, `Zero` and `ToStr` can all be automatically derived with
4452         `#[deriving(...)]`.
4453       * The `bytes!` macro returns a vector of bytes for string, u8, char,
4454         and unsuffixed integer literals.
4455
4456    * Libraries
4457       * The `core` crate was renamed to `std`.
4458       * The `std` crate was renamed to `extra`.
4459       * More and improved documentation.
4460       * std: `iterator` module for external iterator objects.
4461       * Many old-style (internal, higher-order function) iterators replaced by
4462         implementations of `Iterator`.
4463       * std: Many old internal vector and string iterators,
4464         incl. `any`, `all`. removed.
4465       * std: The `finalize` method of `Drop` renamed to `drop`.
4466       * std: The `drop` method now takes `&mut self` instead of `&self`.
4467       * std: The prelude no longer reexports any modules, only types and traits.
4468       * std: Prelude additions: `print`, `println`, `FromStr`, `ApproxEq`, `Equiv`,
4469         `Iterator`, `IteratorUtil`, many numeric traits, many tuple traits.
4470       * std: New numeric traits: `Fractional`, `Real`, `RealExt`, `Integer`, `Ratio`,
4471         `Algebraic`, `Trigonometric`, `Exponential`, `Primitive`.
4472       * std: Tuple traits and accessors defined for up to 12-tuples, e.g.
4473         `(0, 1, 2).n2()` or `(0, 1, 2).n2_ref()`.
4474       * std: Many types implement `Clone`.
4475       * std: `path` type renamed to `Path`.
4476       * std: `mut` module and `Mut` type removed.
4477       * std: Many standalone functions removed in favor of methods and iterators
4478         in `vec`, `str`. In the future methods will also work as functions.
4479       * std: `reinterpret_cast` removed. Use `transmute`.
4480       * std: ascii string handling in `std::ascii`.
4481       * std: `Rand` is implemented for ~/@.
4482       * std: `run` module for spawning processes overhauled.
4483       * std: Various atomic types added to `unstable::atomic`.
4484       * std: Various types implement `Zero`.
4485       * std: `LinearMap` and `LinearSet` renamed to `HashMap` and `HashSet`.
4486       * std: Borrowed pointer functions moved from `ptr` to `borrow`.
4487       * std: Added `os::mkdir_recursive`.
4488       * std: Added `os::glob` function performs filesystems globs.
4489       * std: `FuzzyEq` renamed to `ApproxEq`.
4490       * std: `Map` now defines `pop` and `swap` methods.
4491       * std: `Cell` constructors converted to static methods.
4492       * extra: `rc` module adds the reference counted pointers, `Rc` and `RcMut`.
4493       * extra: `flate` module moved from `std` to `extra`.
4494       * extra: `fileinput` module for iterating over a series of files.
4495       * extra: `Complex` number type and `complex` module.
4496       * extra: `Rational` number type and `rational` module.
4497       * extra: `BigInt`, `BigUint` implement numeric and comparison traits.
4498       * extra: `term` uses terminfo now, is more correct.
4499       * extra: `arc` functions converted to methods.
4500       * extra: Implementation of fixed output size variations of SHA-2.
4501
4502    * Tooling
4503       * `unused_variable`  lint mode for unused variables (default: warn).
4504       * `unused_unsafe` lint mode for detecting unnecessary `unsafe` blocks
4505         (default: warn).
4506       * `unused_mut` lint mode for identifying unused `mut` qualifiers
4507         (default: warn).
4508       * `dead_assignment` lint mode for unread variables (default: warn).
4509       * `unnecessary_allocation` lint mode detects some heap allocations that are
4510         immediately borrowed so could be written without allocating (default: warn).
4511       * `missing_doc` lint mode (default: allow).
4512       * `unreachable_code` lint mode (default: warn).
4513       * The `rusti` command has been rewritten and a number of bugs addressed.
4514       * rustc outputs in color on more terminals.
4515       * rustc accepts a `--link-args` flag to pass arguments to the linker.
4516       * rustc accepts a `-Z print-link-args` flag for debugging linkage.
4517       * Compiling with `-g` will make the binary record information about
4518         dynamic borrowcheck failures for debugging.
4519       * rustdoc has a nicer stylesheet.
4520       * Various improvements to rustdoc.
4521       * Improvements to rustpkg (see the detailed release notes).
4522
4523
4524 Version 0.6 (2013-04-03)
4525 ========================
4526
4527    * ~2100 changes, numerous bugfixes
4528
4529    * Syntax changes
4530       * The self type parameter in traits is now spelled `Self`
4531       * The `self` parameter in trait and impl methods must now be explicitly
4532         named (for example: `fn f(&self) { }`). Implicit self is deprecated.
4533       * Static methods no longer require the `static` keyword and instead
4534         are distinguished by the lack of a `self` parameter
4535       * Replaced the `Durable` trait with the `'static` lifetime
4536       * The old closure type syntax with the trailing sigil has been
4537         removed in favor of the more consistent leading sigil
4538       * `super` is a keyword, and may be prefixed to paths
4539       * Trait bounds are separated with `+` instead of whitespace
4540       * Traits are implemented with `impl Trait for Type`
4541         instead of `impl Type: Trait`
4542       * Lifetime syntax is now `&'l foo` instead of `&l/foo`
4543       * The `export` keyword has finally been removed
4544       * The `move` keyword has been removed (see "Semantic changes")
4545       * The interior mutability qualifier on vectors, `[mut T]`, has been
4546         removed. Use `&mut [T]`, etc.
4547       * `mut` is no longer valid in `~mut T`. Use inherited mutability
4548       * `fail` is no longer a keyword. Use `fail!()`
4549       * `assert` is no longer a keyword. Use `assert!()`
4550       * `log` is no longer a keyword. use `debug!`, etc.
4551       * 1-tuples may be represented as `(T,)`
4552       * Struct fields may no longer be `mut`. Use inherited mutability,
4553         `@mut T`, `core::mut` or `core::cell`
4554       * `extern mod { ... }` is no longer valid syntax for foreign
4555         function modules. Use extern blocks: `extern { ... }`
4556       * Newtype enums removed. Use tuple-structs.
4557       * Trait implementations no longer support visibility modifiers
4558       * Pattern matching over vectors improved and expanded
4559       * `const` renamed to `static` to correspond to lifetime name,
4560         and make room for future `static mut` unsafe mutable globals.
4561       * Replaced `#[deriving_eq]` with `#[deriving(Eq)]`, etc.
4562       * `Clone` implementations can be automatically generated with
4563         `#[deriving(Clone)]`
4564       * Casts to traits must use a pointer sigil, e.g. `@foo as @Bar`
4565         instead of `foo as Bar`.
4566       * Fixed length vector types are now written as `[int, .. 3]`
4567         instead of `[int * 3]`.
4568       * Fixed length vector types can express the length as a constant
4569         expression. (ex: `[int, .. GL_BUFFER_SIZE - 2]`)
4570
4571    * Semantic changes
4572       * Types with owned pointers or custom destructors move by default,
4573         eliminating the `move` keyword
4574       * All foreign functions are considered unsafe
4575       * &mut is now unaliasable
4576       * Writes to borrowed @mut pointers are prevented dynamically
4577       * () has size 0
4578       * The name of the main function can be customized using #[main]
4579       * The default type of an inferred closure is &fn instead of @fn
4580       * `use` statements may no longer be "chained" - they cannot import
4581         identifiers imported by previous `use` statements
4582       * `use` statements are crate relative, importing from the "top"
4583         of the crate by default. Paths may be prefixed with `super::`
4584         or `self::` to change the search behavior.
4585       * Method visibility is inherited from the implementation declaration
4586       * Structural records have been removed
4587       * Many more types can be used in static items, including enums
4588         'static-lifetime pointers and vectors
4589       * Pattern matching over vectors improved and expanded
4590       * Typechecking of closure types has been overhauled to
4591         improve inference and eliminate unsoundness
4592       * Macros leave scope at the end of modules, unless that module is
4593         tagged with #[macro_escape]
4594
4595    * Libraries
4596       * Added big integers to `std::bigint`
4597       * Removed `core::oldcomm` module
4598       * Added pipe-based `core::comm` module
4599       * Numeric traits have been reorganized under `core::num`
4600       * `vec::slice` finally returns a slice
4601       * `debug!` and friends don't require a format string, e.g. `debug!(Foo)`
4602       * Containers reorganized around traits in `core::container`
4603       * `core::dvec` removed, `~[T]` is a drop-in replacement
4604       * `core::send_map` renamed to `core::hashmap`
4605       * `std::map` removed; replaced with `core::hashmap`
4606       * `std::treemap` reimplemented as an owned balanced tree
4607       * `std::deque` and `std::smallintmap` reimplemented as owned containers
4608       * `core::trie` added as a fast ordered map for integer keys
4609       * Set types added to `core::hashmap`, `core::trie` and `std::treemap`
4610       * `Ord` split into `Ord` and `TotalOrd`. `Ord` is still used to
4611         overload the comparison operators, whereas `TotalOrd` is used
4612         by certain container types
4613
4614    * Other
4615       * Replaced the 'cargo' package manager with 'rustpkg'
4616       * Added all-purpose 'rust' tool
4617       * `rustc --test` now supports benchmarks with the `#[bench]` attribute
4618       * rustc now *attempts* to offer spelling suggestions
4619       * Improved support for ARM and Android
4620       * Preliminary MIPS backend
4621       * Improved foreign function ABI implementation for x86, x86_64
4622       * Various memory usage improvements
4623       * Rust code may be embedded in foreign code under limited circumstances
4624       * Inline assembler supported by new asm!() syntax extension.
4625
4626
4627 Version 0.5 (2012-12-21)
4628 ===========================
4629
4630    * ~900 changes, numerous bugfixes
4631
4632    * Syntax changes
4633       * Removed `<-` move operator
4634       * Completed the transition from the `#fmt` extension syntax to `fmt!`
4635       * Removed old fixed length vector syntax - `[T]/N`
4636       * New token-based quasi-quoters, `quote_tokens!`, `quote_expr!`, etc.
4637       * Macros may now expand to items and statements
4638       * `a.b()` is always parsed as a method call, never as a field projection
4639       * `Eq` and `IterBytes` implementations can be automatically generated
4640         with `#[deriving_eq]` and `#[deriving_iter_bytes]` respectively
4641       * Removed the special crate language for `.rc` files
4642       * Function arguments may consist of any irrefutable pattern
4643
4644    * Semantic changes
4645       * `&` and `~` pointers may point to objects
4646       * Tuple structs - `struct Foo(Bar, Baz)`. Will replace newtype enums.
4647       * Enum variants may be structs
4648       * Destructors can be added to all nominal types with the Drop trait
4649       * Structs and nullary enum variants may be constants
4650       * Values that cannot be implicitly copied are now automatically moved
4651         without writing `move` explicitly
4652       * `&T` may now be coerced to `*T`
4653       * Coercions happen in `let` statements as well as function calls
4654       * `use` statements now take crate-relative paths
4655       * The module and type namespaces have been merged so that static
4656         method names can be resolved under the trait in which they are
4657         declared
4658
4659    * Improved support for language features
4660       * Trait inheritance works in many scenarios
4661       * More support for explicit self arguments in methods - `self`, `&self`
4662         `@self`, and `~self` all generally work as expected
4663       * Static methods work in more situations
4664       * Experimental: Traits may declare default methods for the implementations
4665         to use
4666
4667    * Libraries
4668       * New condition handling system in `core::condition`
4669       * Timsort added to `std::sort`
4670       * New priority queue, `std::priority_queue`
4671       * Pipes for serializable types, `std::flatpipes'
4672       * Serialization overhauled to be trait-based
4673       * Expanded `getopts` definitions
4674       * Moved futures to `std`
4675       * More functions are pure now
4676       * `core::comm` renamed to `oldcomm`. Still deprecated
4677       * `rustdoc` and `cargo` are libraries now
4678
4679    * Misc
4680       * Added a preliminary REPL, `rusti`
4681       * License changed from MIT to dual MIT/APL2
4682
4683
4684 Version 0.4 (2012-10-15)
4685 ==========================
4686
4687    * ~2000 changes, numerous bugfixes
4688
4689    * Syntax
4690       * All keywords are now strict and may not be used as identifiers anywhere
4691       * Keyword removal: 'again', 'import', 'check', 'new', 'owned', 'send',
4692         'of', 'with', 'to', 'class'.
4693       * Classes are replaced with simpler structs
4694       * Explicit method self types
4695       * `ret` became `return` and `alt` became `match`
4696       * `import` is now `use`; `use is now `extern mod`
4697       * `extern mod { ... }` is now `extern { ... }`
4698       * `use mod` is the recommended way to import modules
4699       * `pub` and `priv` replace deprecated export lists
4700       * The syntax of `match` pattern arms now uses fat arrow (=>)
4701       * `main` no longer accepts an args vector; use `os::args` instead
4702
4703    * Semantics
4704       * Trait implementations are now coherent, ala Haskell typeclasses
4705       * Trait methods may be static
4706       * Argument modes are deprecated
4707       * Borrowed pointers are much more mature and recommended for use
4708       * Strings and vectors in the static region are stored in constant memory
4709       * Typestate was removed
4710       * Resolution rewritten to be more reliable
4711       * Support for 'dual-mode' data structures (freezing and thawing)
4712
4713    * Libraries
4714       * Most binary operators can now be overloaded via the traits in
4715         `core::ops'
4716       * `std::net::url` for representing URLs
4717       * Sendable hash maps in `core::send_map`
4718       * `core::task' gained a (currently unsafe) task-local storage API
4719
4720    * Concurrency
4721       * An efficient new intertask communication primitive called the pipe,
4722         along with a number of higher-level channel types, in `core::pipes`
4723       * `std::arc`, an atomically reference counted, immutable, shared memory
4724         type
4725       * `std::sync`, various exotic synchronization tools based on arcs and pipes
4726       * Futures are now based on pipes and sendable
4727       * More robust linked task failure
4728       * Improved task builder API
4729
4730    * Other
4731       * Improved error reporting
4732       * Preliminary JIT support
4733       * Preliminary work on precise GC
4734       * Extensive architectural improvements to rustc
4735       * Begun a transition away from buggy C++-based reflection (shape) code to
4736         Rust-based (visitor) code
4737       * All hash functions and tables converted to secure, randomized SipHash
4738
4739
4740 Version 0.3  (2012-07-12)
4741 ========================
4742
4743    * ~1900 changes, numerous bugfixes
4744
4745    * New coding conveniences
4746       * Integer-literal suffix inference
4747       * Per-item control over warnings, errors
4748       * #[cfg(windows)] and #[cfg(unix)] attributes
4749       * Documentation comments
4750       * More compact closure syntax
4751       * 'do' expressions for treating higher-order functions as
4752         control structures
4753       * *-patterns (wildcard extended to all constructor fields)
4754
4755    * Semantic cleanup
4756       * Name resolution pass and exhaustiveness checker rewritten
4757       * Region pointers and borrow checking supersede alias
4758         analysis
4759       * Init-ness checking is now provided by a region-based liveness
4760         pass instead of the typestate pass; same for last-use analysis
4761       * Extensive work on region pointers
4762
4763    * Experimental new language features
4764       * Slices and fixed-size, interior-allocated vectors
4765       * #!-comments for lang versioning, shell execution
4766       * Destructors and iface implementation for classes;
4767         type-parameterized classes and class methods
4768       * 'const' type kind for types that can be used to implement
4769         shared-memory concurrency patterns
4770
4771    * Type reflection
4772
4773    * Removal of various obsolete features
4774       * Keywords: 'be', 'prove', 'syntax', 'note', 'mutable', 'bind',
4775                  'crust', 'native' (now 'extern'), 'cont' (now 'again')
4776
4777       * Constructs: do-while loops ('do' repurposed), fn binding,
4778                     resources (replaced by destructors)
4779
4780    * Compiler reorganization
4781       * Syntax-layer of compiler split into separate crate
4782       * Clang (from LLVM project) integrated into build
4783       * Typechecker split into sub-modules
4784
4785    * New library code
4786       * New time functions
4787       * Extension methods for many built-in types
4788       * Arc: atomic-refcount read-only / exclusive-use shared cells
4789       * Par: parallel map and search routines
4790       * Extensive work on libuv interface
4791       * Much vector code moved to libraries
4792       * Syntax extensions: #line, #col, #file, #mod, #stringify,
4793         #include, #include_str, #include_bin
4794
4795    * Tool improvements
4796       * Cargo automatically resolves dependencies
4797
4798
4799 Version 0.2  (2012-03-29)
4800 =========================
4801
4802    * >1500 changes, numerous bugfixes
4803
4804    * New docs and doc tooling
4805
4806    * New port: FreeBSD x86_64
4807
4808    * Compilation model enhancements
4809       * Generics now specialized, multiply instantiated
4810       * Functions now inlined across separate crates
4811
4812    * Scheduling, stack and threading fixes
4813       * Noticeably improved message-passing performance
4814       * Explicit schedulers
4815       * Callbacks from C
4816       * Helgrind clean
4817
4818    * Experimental new language features
4819       * Operator overloading
4820       * Region pointers
4821       * Classes
4822
4823    * Various language extensions
4824       * C-callback function types: 'crust fn ...'
4825       * Infinite-loop construct: 'loop { ... }'
4826       * Shorten 'mutable' to 'mut'
4827       * Required mutable-local qualifier: 'let mut ...'
4828       * Basic glob-exporting: 'export foo::*;'
4829       * Alt now exhaustive, 'alt check' for runtime-checked
4830       * Block-function form of 'for' loop, with 'break' and 'ret'.
4831
4832    * New library code
4833       * AST quasi-quote syntax extension
4834       * Revived libuv interface
4835       * New modules: core::{future, iter}, std::arena
4836       * Merged per-platform std::{os*, fs*} to core::{libc, os}
4837       * Extensive cleanup, regularization in libstd, libcore
4838
4839
4840 Version 0.1  (2012-01-20)
4841 ===============================
4842
4843    * Most language features work, including:
4844       * Unique pointers, unique closures, move semantics
4845       * Interface-constrained generics
4846       * Static interface dispatch
4847       * Stack growth
4848       * Multithread task scheduling
4849       * Typestate predicates
4850       * Failure unwinding, destructors
4851       * Pattern matching and destructuring assignment
4852       * Lightweight block-lambda syntax
4853       * Preliminary macro-by-example
4854
4855    * Compiler works with the following configurations:
4856       * Linux: x86 and x86_64 hosts and targets
4857       * MacOS: x86 and x86_64 hosts and targets
4858       * Windows: x86 hosts and targets
4859
4860    * Cross compilation / multi-target configuration supported.
4861
4862    * Preliminary API-documentation and package-management tools included.
4863
4864 Known issues:
4865
4866    * Documentation is incomplete.
4867
4868    * Performance is below intended target.
4869
4870    * Standard library APIs are subject to extensive change, reorganization.
4871
4872    * Language-level versioning is not yet operational - future code will
4873      break unexpectedly.