core: Rewrite last_os_error in Rust for unix and provide access to errno (unix) and GetLastError (windows).
core: Rewrite last_os_error in Rust for windows as well.
rt: remove last_os_error and adjust tests.
Long lines.
rt: remove last_os_error from rustrt.def.in
librustc: Speed up moves a lot. r=nmatsakis
auto merge of #4896 : pcwalton/rust/move-speedup, r=pcwalton

r? @nikomatsakis 

When you made the change to fix kinds in recursion, you stopped looking in the master cache. This patch fixes it.
Adjust borrow checker algorithm to address #4856 unsoundness,
and then adjust code to match. rs=unsound (will review post-landing)
auto merge of #4914 : nikomatsakis/rust/issue-4856, r=nikomatsakis

and then adjust code to match. rs=unsound (will review post-landing)

rs=unsound
auto merge of #4900 : luqmana/rust/core_os_errors, r=graydon

Rewrote the last pull request (#4859) to not require on llvm for core.

Also fixes #2269.
librustc: Make monomorphic newtype structs work cross-crate
Add Brendan Zabarauskas to AUTHORS
Add forgotten authors Jesse Jones, Mark Vian, and Trinick
auto merge of #4892 : pcwalton/rust/xc-newtype-structs, r=pcwalton

r? @brson
core: add min and max to cmp, re-export various places.
core: add abs to num.
std: add stats.
rustc and std: teach about #[bench], modernize to use quote_expr! some.
auto merge of #4515 : graydon/rust/bench-harness, r=graydon

This is scaffolding for the new #[bench] attribute for marking unit tests as benchmarks. They are run with the --bench flag that the test runner now accepts. The runner automatically calibrates a test loop to an appropriate count to get a good per-iteration measurement.
auto merge of #4840 : jbclements/rust/add-json-enum-encoding, r=catamorphism

r?

I added code to the JSON encoder to support the serialization of enums.  Before this, the JSON serializer only handled Option, and encoded None as 'null'. Following this change, all enums are encoded as arrays containing the enum name followed by the encoded fields. This appears consistent with the unstated invariant that the resulting output can be mapped back to the input *if* there's a decoder around that knows the types that were in existence when the serialization occurred.

Also, added test cases.