about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-03-22 08:36:50 -0700
committerbors <bors@rust-lang.org>2014-03-22 08:36:50 -0700
commit5e8e1b515a9ef1cd38ee0c71f032415906a7f42d (patch)
treee7003afab13be48f15f121a8dd04e47d938a06d4 /src/rustllvm/RustWrapper.cpp
parente233a43f5a0e14ceb322b955b16c8967adb2f4a8 (diff)
parentcffe9e041dc62b98ac83f34c78128febda3d6122 (diff)
downloadrust-5e8e1b515a9ef1cd38ee0c71f032415906a7f42d.tar.gz
rust-5e8e1b515a9ef1cd38ee0c71f032415906a7f42d.zip
auto merge of #13078 : klutzy/rust/issue-13075, r=alexcrichton
`FormatMessageW()` is called by `std::os::last_os_error()` to convert
errno into string, but the function may fail on non-english locale.
I don't know why it fails, but anyway it's better to return errno
than to `fail!()` in the case.

Fixes #13075
Fixes #13073
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions