rb_sys 0.9.32 → 0.9.33

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3646412771a1f14d60e962b3502ae73298f16c1199fa2829e3075ff16ae017f3
4
- data.tar.gz: 4a4ca352c575e60c4cd1765b4e6c2f615a447c647098a4a1ec2ba491f55cb98e
3
+ metadata.gz: 9d09a39544c979c7f5d3922a58d942a784c350a671144cb6ad51c35bf7898151
4
+ data.tar.gz: b712119a0be7c72b7de1581b4ca953b23e96d5977418b3003f8cdd213ea0d33f
5
5
  SHA512:
6
- metadata.gz: eeef73802bf310125d839c795e2ff47e538d3ede95d5d6c0eaa7205b000e53b8586bab68929190684cd807c2af204ab97b646c97e66935670f996bef041f068d
7
- data.tar.gz: eb8cf1dc3aaff73016309a5d0c624ac4def94dae4791e5d01b5061bf7c521696d2c4756bc512fea195e32db0d547230dddeaf70663c1e19e93cf3cc64cbc3625
6
+ metadata.gz: ca04d4d8c1309ae55e529445f4edea345e946883d27a21f00bdecf81c0d412839690a3ba5b92b5fe51e879f7d374baacf3136614b363b6804011d60032f372d0
7
+ data.tar.gz: a8c53245cafb61ee08c65f34fc1ef55cee8da731da09f4402cfe3ad779a50d6f4fee8c82d58fed1ab0b3e1ef74dafb462071d721d5351af292ae268e36668a3c
checksums.yaml.gz.sig CHANGED
Binary file
@@ -119,6 +119,10 @@ module RbSys
119
119
  # run on one that isn't the missing libraries will cause the extension
120
120
  # to fail on start.
121
121
  flags += ["-C", "link-arg=-static-libgcc"]
122
+ elsif darwin_target?
123
+ # See https://github.com/oxidize-rb/rb-sys/issues/88
124
+ dl_flag = "-Wl,-undefined,dynamic_lookup"
125
+ flags += ["-C", "link-arg=#{dl_flag}"] unless makefile_config("DLDFLAGS")&.include?(dl_flag)
122
126
  end
123
127
 
124
128
  flags
@@ -4,6 +4,6 @@
4
4
 
5
5
  module RbSys
6
6
  class ToolchainInfo
7
- DATA = {"arm-linux" => {"rust-target" => "arm-unknown-linux-gnueabihf", "rake-compiler-dock" => {"cc" => "arm-linux-gnueabihf-gcc"}, "supported" => true}, "aarch64-linux" => {"rust-target" => "aarch64-unknown-linux-gnu", "rake-compiler-dock" => {"cc" => "aarch64-linux-gnu-gcc"}, "supported" => true}, "arm64-darwin" => {"rust-target" => "aarch64-unknown-linux-gnu", "rake-compiler-dock" => {"cc" => "aarch64-apple-darwin-clang"}, "supported" => true}, "x64-mingw-ucrt" => {"rust-target" => "x86_64-pc-windows-gnu", "rake-compiler-dock" => {"cc" => "x86_64-windows-gnu-gcc"}, "supported" => true}, "x64-mingw32" => {"rust-target" => "x86_64-pc-windows-gnu", "rake-compiler-dock" => {"cc" => "x86_64-windows-gnu-gcc"}, "supported" => true}, "x86-linux" => {"rust-target" => "i686-unknown-linux-gnu", "rake-compiler-dock" => {"cc" => "i686-redhat-linux-gcc"}, "supported" => false}, "x86-mingw32" => {"rust-target" => "i686-pc-windows-gnu", "rake-compiler-dock" => {"cc" => "i686-w64-mingw32-gcc"}, "supported" => false}, "x86_64-darwin" => {"rust-target" => "x86_64-apple-darwin", "rake-compiler-dock" => {"cc" => "x86_64-apple-darwin-clang"}, "supported" => true}, "x86_64-linux" => {"rust-target" => "x86_64-unknown-linux-gnu", "rake-compiler-dock" => {"cc" => "x86_64-redhat-linux-gcc"}, "supported" => true}, "x86_64-linux-musl" => {"rust-target" => "x86_64-unknown-linux-musl", "rake-compiler-dock" => {"cc" => "x86_64-unknown-linux-musl-gcc"}, "supported" => true}}
7
+ DATA = {"arm-linux" => {"rust-target" => "arm-unknown-linux-gnueabihf", "rake-compiler-dock" => {"cc" => "arm-linux-gnueabihf-gcc"}, "docker-platform" => "linux/arm/v7", "supported" => true}, "aarch64-linux" => {"rust-target" => "aarch64-unknown-linux-gnu", "rake-compiler-dock" => {"cc" => "aarch64-linux-gnu-gcc"}, "docker-platform" => "linux/arm64/v8", "supported" => true}, "arm64-darwin" => {"rust-target" => "aarch64-unknown-linux-gnu", "rake-compiler-dock" => {"cc" => "aarch64-apple-darwin-clang"}, "docker-platform" => "linux/arm64/v8", "supported" => true}, "x64-mingw-ucrt" => {"rust-target" => "x86_64-pc-windows-gnu", "rake-compiler-dock" => {"cc" => "x86_64-windows-gnu-gcc"}, "docker-platform" => "linux/amd64", "supported" => true}, "x64-mingw32" => {"rust-target" => "x86_64-pc-windows-gnu", "rake-compiler-dock" => {"cc" => "x86_64-windows-gnu-gcc"}, "docker-platform" => "linux/amd64", "supported" => true}, "x86-linux" => {"rust-target" => "i686-unknown-linux-gnu", "rake-compiler-dock" => {"cc" => "i686-redhat-linux-gcc"}, "docker-platform" => "linux/i386", "supported" => false}, "x86-mingw32" => {"rust-target" => "i686-pc-windows-gnu", "rake-compiler-dock" => {"cc" => "i686-w64-mingw32-gcc"}, "docker-platform" => "linux/i386", "supported" => false}, "x86_64-darwin" => {"rust-target" => "x86_64-apple-darwin", "rake-compiler-dock" => {"cc" => "x86_64-apple-darwin-clang"}, "docker-platform" => "linux/amd64", "supported" => true}, "x86_64-linux" => {"rust-target" => "x86_64-unknown-linux-gnu", "rake-compiler-dock" => {"cc" => "x86_64-redhat-linux-gcc"}, "docker-platform" => "linux/amd64", "supported" => true}, "x86_64-linux-musl" => {"rust-target" => "x86_64-unknown-linux-musl", "rake-compiler-dock" => {"cc" => "x86_64-unknown-linux-musl-gcc"}, "docker-platform" => "linux/amd64", "supported" => true}}
8
8
  end
9
9
  end
@@ -4,7 +4,7 @@ require_relative "toolchain_info/data"
4
4
 
5
5
  module RbSys
6
6
  class ToolchainInfo
7
- attr_reader :platform, :gem_platform, :rust_target, :rake_compiler_dock_cc, :supported, :rake_compiler_dock_image
7
+ attr_reader :platform, :gem_platform, :rust_target, :rake_compiler_dock_cc, :supported, :rake_compiler_dock_image, :docker_platform
8
8
 
9
9
  class << self
10
10
  def all
@@ -24,6 +24,7 @@ module RbSys
24
24
  @rake_compiler_dock_cc = data["rake-compiler-dock"]["cc"]
25
25
  @supported = data["supported"]
26
26
  @rake_compiler_dock_image = "rbsys/#{platform}:#{RbSys::VERSION}"
27
+ @docker_platform = data["docker-platform"]
27
28
  end
28
29
 
29
30
  def supported?
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RbSys
4
- VERSION = "0.9.32"
4
+ VERSION = "0.9.33"
5
5
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rb_sys
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.32
4
+ version: 0.9.33
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ian Ker-Seymer
@@ -30,7 +30,7 @@ cert_chain:
30
30
  Rl+ASkq2/1i07TkBpCf+2hq66+h/hx+/Y/KrUzXfe0jtvil0WESkJT2kqRqHWNhD
31
31
  9GKBxaQlXokNDtWCm1/gl6cD8WRZ0N5S4ZGJT1FLLsA=
32
32
  -----END CERTIFICATE-----
33
- date: 2022-10-18 00:00:00.000000000 Z
33
+ date: 2022-10-20 00:00:00.000000000 Z
34
34
  dependencies: []
35
35
  description:
36
36
  email:
@@ -72,7 +72,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
72
72
  - !ruby/object:Gem::Version
73
73
  version: '0'
74
74
  requirements: []
75
- rubygems_version: 3.3.22
75
+ rubygems_version: 3.3.7
76
76
  signing_key:
77
77
  specification_version: 4
78
78
  summary: Helpers for compiling Rust extensions for ruby
metadata.gz.sig CHANGED
Binary file