Sha256: 74e74dd8dc9953995a433c8df6c39d5bf6323a17cd284f79e00cf782f66b5fff

Contents?: true

Size: 303 Bytes

Versions: 23

Compression:

Stored size: 303 Bytes

Contents

# frozen_string_literal: true

require_relative "wasmtime/version"

module Wasmtime
end

# Tries to require the extension for the given Ruby version first
begin
  RUBY_VERSION =~ /(\d+\.\d+)/
  require "wasmtime/#{Regexp.last_match(1)}/wasmtime_rb"
rescue LoadError
  require "wasmtime/wasmtime_rb"
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
wasmtime-29.0.0 lib/wasmtime.rb
wasmtime-29.0.0-x86_64-linux lib/wasmtime.rb
wasmtime-29.0.0-x86_64-linux-musl lib/wasmtime.rb
wasmtime-29.0.0-x86_64-darwin lib/wasmtime.rb
wasmtime-29.0.0-x64-mingw-ucrt lib/wasmtime.rb
wasmtime-29.0.0-arm64-darwin lib/wasmtime.rb
wasmtime-29.0.0-aarch64-linux lib/wasmtime.rb
wasmtime-29.0.0-aarch64-linux-musl lib/wasmtime.rb
wasmtime-28.0.0 lib/wasmtime.rb
wasmtime-28.0.0-x86_64-linux lib/wasmtime.rb
wasmtime-28.0.0-x86_64-linux-musl lib/wasmtime.rb
wasmtime-28.0.0-x86_64-darwin lib/wasmtime.rb
wasmtime-28.0.0-x64-mingw-ucrt lib/wasmtime.rb
wasmtime-28.0.0-arm64-darwin lib/wasmtime.rb
wasmtime-28.0.0-aarch64-linux lib/wasmtime.rb
wasmtime-28.0.0-aarch64-linux-musl lib/wasmtime.rb
wasmtime-27.0.0 lib/wasmtime.rb
wasmtime-27.0.0-x86_64-linux lib/wasmtime.rb
wasmtime-27.0.0-x86_64-linux-musl lib/wasmtime.rb
wasmtime-27.0.0-x86_64-darwin lib/wasmtime.rb