Fix bug: metadata for struct constructor function needs to encode info
on its generic type parameters.

Test case to follow.
test case for issue #10031.
std: comment about OOM & allocs in begin_unwind_fmt.

Follow-up to #11841 which added this function.
Set SO_REUSEADDR by default in libnative.

Fixes std::net test error when re-running too quickly.
Add appropriate LLVM module flags for debug info.

Set "Dwarf Version" to 2 on OS X to avoid toolchain incompatibility, and
set "Debug Info Version" to prevent debug info from being stripped from
bitcode.

Fixes #11352.
auto merge of #11851 : pnkfelix/rust/fsk-fix-issue-10031, r=alexcrichton

Fix #10031.
auto merge of #11858 : huonw/rust/11841-followup, r=brson

Follow-up to #11841 which added this function.
auto merge of #11864 : comex/rust/11352, r=alexcrichton

Set "Dwarf Version" to 2 on OS X to avoid toolchain incompatibility, and
set "Debug Info Version" to prevent debug info from being stripped from
bitcode.

Fixes #11352.
Add a missing backslash to a makefile

Closes #11874
Fix a typo in disable rpaths

Closes #5219
auto merge of #11845 : xales/rust/libnative, r=alexcrichton

Fixes std::net test error when re-running too quickly.

Suggested by @cmr
Update extract-tests.py to use same test directives as rustdoc.

Closes #11362.
auto merge of #11490 : wting/rust/wting_11362_update_extract_tests, r=alexcrichton

Refactored the file quite a bit, I can add unit tests if desired. There's a few changes from the previous version's behavior:

- destination directory will be created if it doesn't exist
- strings and file is written as unicode

I have a few questions, but will ask them in #11362.
auto merge of #11883 : alexcrichton/rust/fix-mk-install, r=pnkfelix

Closes #11874
auto merge of #11887 : alexcrichton/rust/rpath-for-real, r=thestinger

Closes #5219
Generate rlibs by default (instead of dylibs)

Closes #11253
auto merge of #11706 : alexcrichton/rust/issue-11253, r=huonw

Closes #11253
Fix android test deps

This changes android testing to upload *all* target crates rather than just a
select subset. This should unblock #11867 which is introducing a libglob
dependency in testing.
auto merge of #11903 : alexcrichton/rust/android-test-deps, r=huonw

This changes android testing to upload *all* target crates rather than just a
select subset. This should unblock #11867 which is introducing a libglob
dependency in testing.
Add libc::consts::os::posix01::PTHREAD_STACK_MIN

Represents the minimum size of a thread's stack.  As such, it's both
platform and architecture-specific.

I put it under posix01 even though it predates POSIX.1-2001 by some
years.  I believe it was first formalized in SUSv2.  I doubt anyone
cares, though.