summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAiden Fox Ivey <aiden.foxivey@shopify.com>2025-09-30 12:44:07 -0400
committerTakashi Kokubun <takashikkbn@gmail.com>2025-09-30 11:50:45 -0700
commit55d363bd8dc8a5eddb63fee19af90edc98529a64 (patch)
tree18ae15a8ec8f6e98feb75fe850b528fe35242dec
parent0a4bfb6499041535bebe7a6f5f27cc083716427e (diff)
ZJIT: Use binwrite in zjit.rb
-rw-r--r--zjit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/zjit.rb b/zjit.rb
index 83f8adb866..7ecf278de4 100644
--- a/zjit.rb
+++ b/zjit.rb
@@ -119,7 +119,7 @@ class << RubyVM::ZJIT
raise ArgumentError, "--zjit-trace-exits must be enabled to use dump_exit_locations."
end
- File.write(filename, Marshal.dump(RubyVM::ZJIT.exit_locations))
+ File.binwrite(filename, Marshal.dump(RubyVM::ZJIT.exit_locations))
end
# Check if `--zjit-stats` is used