Closed
Description
upstream/master:
rustdoc: doc/index.html
i686-pc-mingw32/stage2/bin/rustdoc.exe --markdown-css rust.css --markdown-before-content=doc/version_info.html --markdown-in-header=doc/favicon.inc --markdown-after-content=doc/footer.inc /home/LIIGO/rust/rust/src/doc/index.md
rustdoc: doc/tutorial.html
i686-pc-mingw32/stage2/bin/rustdoc.exe --markdown-css rust.css --markdown-before-content=doc/version_info.html --markdown-in-header=doc/favicon.inc --markdown-after-content=doc/footer.inc /home/LIIGO/rust/rust/src/doc/tutorial.md
task '<main>' failed at '[15100] FormatMessage failure', D:\MinGW\msys\1.0\home\LIIGO\rust\rust\src\libstd\os.rs:743
make: *** [doc/tutorial.html] Error 101
Activity
[-]rustdoc: FormatMessage failure[/-][+]rustdoc: "FormatMessage failure" on Windows[/+]huonw commentedon Mar 22, 2014
Does that build include the fix in #13043?
liigo commentedon Mar 22, 2014
Yes, include.
2014年3月22日 下午6:45于 "Huon Wilson" notifications@github.com写道:
huonw commentedon Mar 22, 2014
Thanks for confirming.
cc @alexcrichton
klutzy commentedon Mar 22, 2014
Reproduced on revision 092afdb. Note that I'm using win 8.1 with non-english locale which probably causes issues.
Quick investigation:
FormatMessage
is called bystd::os::last_os_error()
, which gets system error code then convert the code into string. It seems thatFormatMessage
failed with 15100: ERROR_MUI_FILE_NOT_FOUND.klutzy commentedon Mar 22, 2014
So the issue is broken into two parts: 1. why rustdoc failed and called
last_os_error()
? 2. whyFormatMessage
failed?std::os: Handle FormatMessage failure
auto merge of #13078 : klutzy/rust/issue-13075, r=alexcrichton
Auto merge of rust-lang#13108 - tesuji:fix_redundant_closure, r=xFrednet