diff options
author | Kevin Newton <[email protected]> | 2025-03-12 13:16:38 -0400 |
---|---|---|
committer | git <[email protected]> | 2025-03-12 19:15:03 +0000 |
commit | 242e99eb0f32e1705413d084126be4ae6525a804 () | |
tree | cc05ec6908dbb7bdf0f2bbc6f5d28fcf18f6eefc /prism | |
parent | 08b3a45bc97c835b4677bf76dbce68fd51d81897 (diff) |
[ruby/prism] Mark extension as Ractor-safe
https://.com/ruby/prism/commit/10e5431b38
-rw-r--r-- | prism/extension.c | 5 | ||||
-rw-r--r-- | prism/templates/lib/prism/serialize.rb.erb | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1331,6 +1331,11 @@ Init_prism(void) { ); } // Grab up references to all of the constants that we're going to need to // reference throughout this extension. rb_cPrism = rb_define_module("Prism"); @@ -592,7 +592,7 @@ module Prism <%- tokens.each do |token| -%> <%= token.name.to_sym.inspect %>, <%- end -%> - ] private_constant :MAJOR_VERSION, :MINOR_VERSION, :_VERSION private_constant :ConstantPool, :FastStringIO, :Loader, :TOKEN_TYPES |