Rewrite read_u32v_be() and write_u32_be() to make sure that all memory access is properly aligned
Remove unused tuple struct
Sort .gitignore.

Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
Use globs to ignore target directories.

Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
time::Tm should impl Eq in addition to PartialEq
fix underflow in vec swap_remove
fixes #16200
rustdoc: Add generator meta tag to API docs

This is consistent with the meta tag in Markdown docs run through
rustdoc.
core: add a reverse method to Ordering.

This flips the comparison and is designed to be used when sorting etc.
rustdoc: Add rustdoc class to <body> tag

This allows for easier application of user stylesheets to rustdocs no
matter where they are hosted.
auto merge of #16191 : DaGenix/rust/fix-aligned-access, r=alexcrichton

When I originally wrote the read_u32v_be() and write_u32_be() functions, I didn't consider memory alignment requirements of various architectures. Unfortunately, the current implementations may result in unaligned reads and writes. This doesn't impact x86 / x86_64, but it can cause a compiler crash on ARM. This pull requests rewrites those functions to make sure that all memory access is always correctly aligned.

This fix is a little bit academic - due to the way that LLVM aligns the structures that are passed as arguments to these functions, I believe that the end result is that all memory access happens to be aligned anyway. However, there is nothing in that code that actually enforces that, at least not explicitly. The new implementations are definitely slower than the existing ones. However, I don't believe that these functions are all that significant when looking at the overall performance of the compiler. I think getting rid of some unsafe code and removing a potential portability landmine justifies a very slight decrease in raw performance.
auto merge of #16194 : omasanori/rust/gitignore, r=alexcrichton

I also sorted lines in .gitignore. The file might include some obsoleted lines but I left.
auto merge of #16155 : huonw/rust/Ordering-reverse, r=alexcrichton

This flips the comparison and is designed to be used when sorting etc.
gitignore: Add the autogenerated/downloaded unicode data files.
auto merge of #16198 : cakebaker/rust/remove_unused_tuple_struct, r=steveklabnik
auto merge of #16202 : db48x/rust/eq-for-time-tm, r=alexcrichton
auto merge of #16203 : Gankro/rust/vec_flow, r=alexcrichton

fixes #16200
Remove "bin" section from Cargo.toml
auto merge of #16212 : huonw/rust/unicode-gitignore, r=pnkfelix
auto merge of #16209 : tomjakubowski/rust/rustdoc-html-changes, r=alexcrichton

This PR introduces a couple of minor changes to the rustdoc html templates:

1. The `<meta name="generator" content="rustdoc">` tag now appears in API documentation as well.
2. Adds a `rustdoc` class to the top-level `<body>` tag on all HTML pages.

The second point is a nice-to-have for those who would like to apply a user stylesheet to Rust documentation regardless of where it is hosted. Easier use of user stylesheets may alleviate much of the bikeshedding of personal taste on the rustdoc styles.
Use a versioning scheme for bytecode objects in rlibs.

Before this commit, the LLVM IR of exported items was simply zip-compressed and stored as an object file inside rlib archives. This commit adds a header to this "object" containing a file identifier and a format version number so the compiler can deal with changes in the way bytecode objects are stored within rlibs.

While updating the format of bytecode objects, this commit also worksaround a problem in LLDB which could not handle odd-sized objects within archives before mid-2014.