diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2024-10-11 14:59:09 +0900 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2024-10-16 11:24:25 +0900 |
| commit | bbd5b8ddae7b3ff7205866d54cf8aca065a6d9bd (patch) | |
| tree | 0716841193c6c36b4d44173ccaf54dbe99356897 /test/fiddle/test_function.rb | |
| parent | a0ecdbfbfe57a57ab33bdb5e1de4d5dfa8407dbb (diff) | |
[ruby/fiddle] Ractor support
(https://github.com/ruby/fiddle/pull/139)
https://github.com/ruby/fiddle/commit/91d0ea9849
Co-authored-by: Sutou Kouhei <kou@clear-code.com>
Diffstat (limited to 'test/fiddle/test_function.rb')
| -rw-r--r-- | test/fiddle/test_function.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/fiddle/test_function.rb b/test/fiddle/test_function.rb index b6ae8c14bc..b4b2df2874 100644 --- a/test/fiddle/test_function.rb +++ b/test/fiddle/test_function.rb @@ -253,6 +253,11 @@ module Fiddle end end + def test_ractor_shareable + omit("Need Ractor") unless defined?(Ractor) + assert_ractor_shareable(Function.new(@libm['sin'], [TYPE_DOUBLE], TYPE_DOUBLE)) + end + private def perror(m) |
