Sha256: 3466f5b18ba25238da375e58f864f67e1f6b51d63e3284fec1df62c2573d8542
Contents?: true
Size: 470 Bytes
Versions: 32
Compression:
Stored size: 470 Bytes
Contents
require 'rubygems' module Libv8 module Arch module_function def libv8_arch case Gem::Platform.local.cpu when /^arm(v7.*)*$/ then 'arm' when /^a(rm|arch)64$/ then 'arm64' when /^x86$/ then 'ia32' when /^(x86_64|amd64)$/ then 'x64' when /^universal$/ then 'x64' # OS X else warn "Unsupported target: #{Gem::Platform.local.cpu}" Gem::Platform.local.cpu end end end end
Version data entries
32 entries across 32 versions & 1 rubygems