mirror of
https://github.com/ruby/ruby.git
synced 2026-11-08 01:20:26 +08:00
[ruby/test-unit-ruby-core] Freeze RbConfig.ruby for sharing among Ractors
https://github.com/ruby/test-unit-ruby-core/commit/677bcb7206
This commit is contained in:
parent
30fd927272
commit
37003e92e8
@ -518,7 +518,7 @@ end
|
||||
|
||||
if defined?(RbConfig)
|
||||
module RbConfig
|
||||
@ruby = EnvUtil.rubybin
|
||||
@ruby = EnvUtil.rubybin.freeze
|
||||
class << self
|
||||
undef ruby if method_defined?(:ruby)
|
||||
attr_reader :ruby
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user