summaryrefslogtreecommitdiff
path: root/spec/ruby/command_line/dash_0_spec.rb
AgeCommit message (Collapse)Author
2025-11-19Update to ruby/spec@6e62695Benoit Daloze
2025-03-27Freeze $/ and make it ractor safeÉtienne Barrié
[Feature #21109] By always freezing when setting the global rb_rs variable, we can ensure it is not modified and can be accessed from a ractor. We're also making sure it's an instance of String and does not have any instance variables. Of course, if $/ is changed at runtime, it may cause surprising behavior but doing so is deprecated already anyway. Co-authored-by: Jean Boussier <jean.boussier@gmail.com> Notes: Merged: https://github.com/ruby/ruby/pull/12975