summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Kanis <lars@greiz-reinsdorf.de>2020-12-14 09:58:13 +0100
committerLars Kanis <lars@greiz-reinsdorf.de>2020-12-14 09:58:13 +0100
commitdfae59e293974efaa7b4d414e5116d7a2187a06e (patch)
treedad1a0101c465f061ea23d6d96a4b314874e4dbd
parent3f516996c5e7d9ac5a9e323ea3f7f7b73b8ded63 (diff)
downloadffi-dfae59e293974efaa7b4d414e5116d7a2187a06e.tar.gz
Fix platform specs on Windows-x64
RbConfig::CONFIG['host_cpu'] reports "x64" on Windows since ruby commit https://github.com/ruby/ruby/commit/43a9a974e276dc49b03ec81ccace0adb534a3d20
-rw-r--r--spec/ffi/fixtures/compile.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ffi/fixtures/compile.rb b/spec/ffi/fixtures/compile.rb
index 6444601..f816bda 100644
--- a/spec/ffi/fixtures/compile.rb
+++ b/spec/ffi/fixtures/compile.rb
@@ -16,7 +16,7 @@ module TestLibrary
else
"i386"
end
- when /amd64|x86_64/
+ when /amd64|x86_64|x64/
"x86_64"
when /ppc64|powerpc64/
"powerpc64"