about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-01-31 16:36:09 +0800
committerGitHub <noreply@github.com>2018-01-31 16:36:09 +0800
commit33d175f74d588235751302a8dbb6350d893bbff0 (patch)
tree7d560a21df674b2969791a3ca2339ffad4eb3921 /src/rustllvm/RustWrapper.cpp
parentc66c6b7ee73a89ac6a6266f98244a71c0bf05f4d (diff)
parente9d70417cae7fcb08323351d9388b65b39560156 (diff)
downloadrust-33d175f74d588235751302a8dbb6350d893bbff0.tar.gz
rust-33d175f74d588235751302a8dbb6350d893bbff0.zip
Rollup merge of #47874 - jcowgill:mips-from_raw_os_error, r=dtolnay
std: use more portable error number in from_raw_os_error docs

On MIPS, error number 98 is not `EADDRINUSE` (it is `EPROTOTYPE`). To fix the resulting test failure this causes, use a more portable error number in the example documentation. `EINVAL` shold be more reliable because it was defined in the original Unix as 22 so hopefully most derivatives have defined it the same way.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions