diff options
| author | James Cowgill <jcowgill@debian.org> | 2018-01-23 14:47:30 +0000 |
|---|---|---|
| committer | James Cowgill <jcowgill@debian.org> | 2018-01-30 11:53:50 +0000 |
| commit | e9d70417cae7fcb08323351d9388b65b39560156 (patch) | |
| tree | 24bc8938e197458dd8284010cbc49cc38149642e /src/rustllvm/RustWrapper.cpp | |
| parent | fe7e1a45f37f4265434cead827f587e75412f85c (diff) | |
| download | rust-e9d70417cae7fcb08323351d9388b65b39560156.tar.gz rust-e9d70417cae7fcb08323351d9388b65b39560156.zip | |
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
