rb_sys 0.9.32 → 0.9.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3646412771a1f14d60e962b3502ae73298f16c1199fa2829e3075ff16ae017f3
4
- data.tar.gz: 4a4ca352c575e60c4cd1765b4e6c2f615a447c647098a4a1ec2ba491f55cb98e
3
+ metadata.gz: 7dd1ad85a3327649c74bcd07335f88123cc7c2a9c6a4cd805c00d7afed4d5479
4
+ data.tar.gz: 88be21316dbc2b19cb526158b0c37b46d27462b347cebf74e0e3758e2e71208e
5
5
  SHA512:
6
- metadata.gz: eeef73802bf310125d839c795e2ff47e538d3ede95d5d6c0eaa7205b000e53b8586bab68929190684cd807c2af204ab97b646c97e66935670f996bef041f068d
7
- data.tar.gz: eb8cf1dc3aaff73016309a5d0c624ac4def94dae4791e5d01b5061bf7c521696d2c4756bc512fea195e32db0d547230dddeaf70663c1e19e93cf3cc64cbc3625
6
+ metadata.gz: 6f0f226aa827f7c68847da54e2274c61736568970abf8ecde9c65e0ec6657dfc77b0bd568339197d7bb1e2bef3c31dddbb093d9206c139ef0b7026f46554628b
7
+ data.tar.gz: 50ea13352436ddd4430f689d9df0d37a33b82a9383950ffdfa7cd32d1314d03f8972eb113b4a762758346f10298b436754f6cf30d3d96df38cc928beb8ec93d3
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.34"
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.34
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