diff options
| author | Benoit Daloze <eregontp@gmail.com> | 2023-05-30 14:21:54 +0200 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2023-05-30 12:39:26 +0000 |
| commit | 30b960ba345fd462f98db204f47bba66819d9884 (patch) | |
| tree | 664e2db05eccda0883b6ce1d673380e0fab96848 | |
| parent | c7c8e4c96e1ccba86e8ff3232df76144084516b3 (diff) | |
[ruby/io-nonblock] Add TruffleRuby support and add it in CI
* Do not use a C extension on TruffleRuby for these 3 methods.
https://github.com/ruby/io-nonblock/commit/1b8e52abfa
| -rw-r--r-- | ext/io/nonblock/extconf.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/io/nonblock/extconf.rb b/ext/io/nonblock/extconf.rb index 5321593278..a1e6075c9b 100644 --- a/ext/io/nonblock/extconf.rb +++ b/ext/io/nonblock/extconf.rb @@ -2,6 +2,11 @@ require 'mkmf' target = "io/nonblock" +unless RUBY_ENGINE == 'ruby' + File.write("Makefile", dummy_makefile($srcdir).join("")) + return +end + have_func("rb_io_descriptor") hdr = %w"fcntl.h" |
