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>, Vec<RubyValue>,
) )
-> Result<crate::promise::Promise<(), RubyValue>, crate::ScriptingError> -> Result<crate::promise::Promise<(), RubyValue>, crate::ScriptingError>
+ Send + Send,
+ Sync
+ 'static,
>; >;
static RUBY_CALLBACKS: LazyLock<Mutex<HashMap<String, CallbackClosure>>> = static RUBY_CALLBACKS: LazyLock<Mutex<HashMap<String, CallbackClosure>>> =
LazyLock::new(|| Mutex::new(HashMap::new())); LazyLock::new(|| Mutex::new(HashMap::new()));