Issue #13845 has been reported by MSP-Greg (Greg L).

----------------------------------------
Bug #13845: thread_win32.c: set thread name breaking mswin builds on appveyor and at rubyci
https://bugs.ruby-lang.org/issues/13845

* Author: MSP-Greg (Greg L)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: trunk since 59660
* Backport: 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN
----------------------------------------
The commit [svn 59660 thread_win32.c: set thread name](https://github.com/ruby/ruby/commit/19d692920d2d207c3aa891fc79aa5a93c17f84c6) is breaking builds on both appveyor and at rubyci.

It appears to be using a function that is only supported on Windows 10, version 1607 (desktop apps only) and Windows Server 2016 (desktop apps only).  See [SetThreadDescription](https://msdn.microsoft.com/en-us/library/windows/desktop/mt774976(v=vs.85).aspx).

If there's logic to determine OS version, it appears to not be working correctly.  If ruby core has decided that trunk use should be restricted to these OS versions, please let everyone know.

Otherwise, when someone has time, please correct this issue.  This is also causing failures on MinGW builds.  Again, thanks for everyone's work.



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>