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:
parent
fad7908a5d
commit
3c593f28ed
Notes:
git
2021-02-09 14:48:28 +09:00
Merged: https://github.com/ruby/ruby/pull/3567 Merged-By: ioquatix <samuel@codeotaku.com>
1 changed files with 4 additions and 1 deletions
|
@ -2472,7 +2472,10 @@ AS_CASE([$rb_cv_coroutine], [yes|''], [
|
||||||
rb_cv_coroutine=emscripten
|
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})
|
AC_MSG_RESULT(${rb_cv_coroutine})
|
||||||
|
|
Loading…
Add table
Reference in a new issue