ffi 1.15.0-x64-mingw32 → 1.15.1-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/Gemfile +1 -1
- data/README.md +4 -0
- data/lib/2.3/ffi_c.so +0 -0
- data/lib/2.4/ffi_c.so +0 -0
- data/lib/2.5/ffi_c.so +0 -0
- data/lib/2.6/ffi_c.so +0 -0
- data/lib/2.7/ffi_c.so +0 -0
- data/lib/3.0/ffi_c.so +0 -0
- data/lib/ffi.rb +1 -2
- data/lib/ffi/tools/const_generator.rb +2 -1
- data/lib/ffi/tools/struct_generator.rb +2 -1
- data/lib/ffi/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f6a078b26a11c2e8838a8d39d594e98d760a1b4b7297965f2bc106e9eb012562
|
4
|
+
data.tar.gz: da30565bbf64ecbf73797d355d8faa4a61fa3af2994a511a3158051aa7db634d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc03921b2bc8582cf69b3c191e289e3c864e7992df83df6dd3885516fae3fa250bb1d4070f3ecb83fd016edada6632adde7d77e4a11e3c922c86aec7798babc5
|
7
|
+
data.tar.gz: e92f4b64ba7ffc1a6e0a21ead5fa4cb0a9ae86352b842ed6b1d37f443b453505cbf2d72e17dd11f77407f0f7c43bd19fe1f3f6492dfa61021b6472eeb26f219b
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
1.15.1 / 2021-05-22
|
2
|
+
-------------------
|
3
|
+
|
4
|
+
Fixed:
|
5
|
+
* Append -pthread to linker options. #893
|
6
|
+
* Use arm or aarch64 to identify Apple ARM CPU arch. #899
|
7
|
+
* Allow overriding `gcc` with the `CC` env var in `const_generator.rb` and `struct_generator.rb`. #897
|
8
|
+
|
9
|
+
|
1
10
|
1.15.0 / 2021-03-05
|
2
11
|
-------------------
|
3
12
|
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -62,6 +62,10 @@ On JRuby and TruffleRuby, there are no requirements to install the FFI gem, and
|
|
62
62
|
From rubygems:
|
63
63
|
|
64
64
|
[sudo] gem install ffi
|
65
|
+
|
66
|
+
From a Gemfile using git or GitHub
|
67
|
+
|
68
|
+
gem 'ffi', github: 'ffi/ffi', submodules: true
|
65
69
|
|
66
70
|
or from the git repository on github:
|
67
71
|
|
data/lib/2.3/ffi_c.so
CHANGED
Binary file
|
data/lib/2.4/ffi_c.so
CHANGED
Binary file
|
data/lib/2.5/ffi_c.so
CHANGED
Binary file
|
data/lib/2.6/ffi_c.so
CHANGED
Binary file
|
data/lib/2.7/ffi_c.so
CHANGED
Binary file
|
data/lib/3.0/ffi_c.so
CHANGED
Binary file
|
data/lib/ffi.rb
CHANGED
@@ -124,7 +124,8 @@ module FFI
|
|
124
124
|
f.puts "\n\treturn 0;\n}"
|
125
125
|
f.flush
|
126
126
|
|
127
|
-
|
127
|
+
cc = ENV['CC'] || 'gcc'
|
128
|
+
output = `#{cc} #{options[:cppflags]} -D_DARWIN_USE_64_BIT_INODE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -x c -Wall -Werror #{f.path} -o #{binary} 2>&1`
|
128
129
|
|
129
130
|
unless $?.success? then
|
130
131
|
output = output.split("\n").map { |l| "\t#{l}" }.join "\n"
|
@@ -82,7 +82,8 @@ module FFI
|
|
82
82
|
f.puts "\n return 0;\n}"
|
83
83
|
f.flush
|
84
84
|
|
85
|
-
|
85
|
+
cc = ENV['CC'] || 'gcc'
|
86
|
+
output = `#{cc} #{options[:cppflags]} #{options[:cflags]} -D_DARWIN_USE_64_BIT_INODE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -x c -Wall -Werror #{f.path} -o #{binary} 2>&1`
|
86
87
|
|
87
88
|
unless $?.success? then
|
88
89
|
@found = false
|
data/lib/ffi/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ffi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.15.
|
4
|
+
version: 1.15.1
|
5
5
|
platform: x64-mingw32
|
6
6
|
authors:
|
7
7
|
- Wayne Meissner
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-05-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|