Skip to content

Reimplement extension using fiddle #88

Open

Description

@headius

A native extension was recently added just for Windows that's less than 100 lines of code. Given the simplicity of the extension, perhaps it could be reimplemented using fiddle? It would allow it to be used on any Ruby implementation with fiddle support and resolve #87 without having to release a stub gem.

Activity

  1. ntkme commented on Mar 2, 2026

    @ntkme

    This is not going to work as resolv is a default gem, but fiddle is no longer a default gem as of ruby 4.0. Jruby has ffi as a default gem, so one potential solution is to introduce a jruby specific extension that's written with ffi.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions