1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Fixed default coroutine selection for musl.

This commit is contained in:
Andrew Aladjev 2021-02-09 08:48:03 +03:00 committed by GitHub
parent fad7908a5d
commit 3c593f28ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
Notes: git 2021-02-09 14:48:28 +09:00
Merged: https://github.com/ruby/ruby/pull/3567

Merged-By: ioquatix <samuel@codeotaku.com>

View file

@ -2472,7 +2472,10 @@ AS_CASE([$rb_cv_coroutine], [yes|''], [
rb_cv_coroutine=emscripten
],
[
rb_cv_coroutine=ucontext
AC_CHECK_FUNCS([getcontext swapcontext makecontext],
[rb_cv_coroutine=ucontext],
[rb_cv_coroutine=copy; break]
)
]
)
AC_MSG_RESULT(${rb_cv_coroutine})