Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Win32 fixes #9211

Closed
wants to merge 8 commits into from
Closed

Win32 fixes #9211

wants to merge 8 commits into from

Conversation

klutzy
Copy link
Contributor

@klutzy klutzy commented Sep 15, 2013

No description provided.

Enable blocked tests which are now fixed by rust-lang#9165.

Closes rust-lang#8810.
fn path_like_smoke_test() {
let expected = "/home";
#[cfg(unix)]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you use if cfg!(unix) {...} else {...} here instead? Seems to flow a bit nicer.

FormatMessageA may return non-ascii message,
which is encoded as system code page, not utf8.
This may cause `assert!(is_utf8(v))` failure on
some non-English machines.
This patch replaces it with FormatMessageW,
which returns utf-16 message.

Fixes `make check-stage2-std` failure on my machine. :)
Also enables request_sanity_check() test.

Closes rust-lang#8817
@klutzy
Copy link
Contributor Author

klutzy commented Sep 15, 2013

rebased!

@sanxiyn
Copy link
Member

sanxiyn commented Sep 16, 2013

A failure in rustpkg seems unrelated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants