mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
ext/racc/cparse is ractor-safe
This commit is contained in:
parent
846c4b03b8
commit
bcf4b236e4
1 changed files with 4 additions and 0 deletions
|
@ -819,6 +819,10 @@ reduce0(RB_BLOCK_CALL_FUNC_ARGLIST(_, data))
|
|||
void
|
||||
Init_cparse(void)
|
||||
{
|
||||
#if HAVE_RB_EXT_RACTOR_SAFE
|
||||
rb_ext_ractor_safe(true);
|
||||
#endif
|
||||
|
||||
VALUE Racc, Parser;
|
||||
ID id_racc = rb_intern_const("Racc");
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue