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