ruby/internal
Étienne Barrié 6ecfe643b5 Freeze $/ and make it ractor safe
[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>
2025-03-27 17:54:56 +01:00
..
2024-09-05 12:46:02 +02:00
2024-10-03 21:20:09 +01:00
2024-12-12 14:07:56 -05:00
2025-02-19 09:47:28 -05:00
2025-01-08 09:11:59 -05:00
2025-01-20 10:31:36 -05:00
2024-10-24 16:08:46 +01:00
2025-03-27 17:54:56 +01:00
2024-11-08 18:02:46 +09:00