aboutsummaryrefslogtreecommitdiffstats
path: root/ractor_core.h
diff options
context:
space:
mode:
authorHParker <HParker@github.com>2023-12-01 13:25:41 -0800
committerJemma Issroff <jemmaissroff@gmail.com>2023-12-05 12:17:14 -0500
commit9b76c7fc89460ed8e9be40e4037c1d68395c0f6d (patch)
treefc0b1638f528bafd00fce2e09bab32d5977c0947 /ractor_core.h
parent19114014faf9e22c29c105df4d0b7af84c257366 (diff)
downloadruby-9b76c7fc89460ed8e9be40e4037c1d68395c0f6d.tar.gz
allow enabling Prism via flag or env var
Enable Prism using either --prism ruby --prism test.rb or via env var RUBY_PRISM=1 ruby test.rb
Diffstat (limited to 'ractor_core.h')
-rw-r--r--ractor_core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ractor_core.h b/ractor_core.h
index 36c0e91c7a..e6bf55da00 100644
--- a/ractor_core.h
+++ b/ractor_core.h
@@ -186,6 +186,7 @@ struct rb_ractor_struct {
VALUE r_stderr;
VALUE verbose;
VALUE debug;
+ bool prism;
rb_ractor_newobj_cache_t newobj_cache;