Ruby support #1

Open
jaroslaw wants to merge 165 commits from ruby into main
Showing only changes of commit 9bcf3ee589 - Show all commits

View file

@ -386,9 +386,7 @@ impl Runtime for RubyRuntime {
Vec<RubyValue>,
)
-> Result<crate::promise::Promise<(), RubyValue>, crate::ScriptingError>
+ Send
+ Sync
+ 'static,
+ Send,
>;
static RUBY_CALLBACKS: LazyLock<Mutex<HashMap<String, CallbackClosure>>> =
LazyLock::new(|| Mutex::new(HashMap::new()));