rb_sys 0.9.78 → 0.9.79

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: 8fb42bed92543f08d6a3225a194387d67671a18152815470b835b12bc2406411
4
- data.tar.gz: e9fe146231fe531643428f3bc2c4b7376fcf883fb1b8adc400bff361379be9e3
3
+ metadata.gz: 63c63786ecd9f735f17132c8f772cb145d0c4107052d482ea5cff7084f30a7c5
4
+ data.tar.gz: 5d2f9d6e902e855805367f7cdba4a80953693c7a979b58593eca572d310c0cf6
5
5
  SHA512:
6
- metadata.gz: b31316a3201a77e5960bf33ce5b9e59bb1fdf24bd31a6f5eebf9103938d0adee6cca5f9cd3a84813e3f24b9519676467fb649b45788487ab607af9b54c3a018e
7
- data.tar.gz: cae3aaeead61b81af09bfcb5d77f79e9db5ce1f5863273c7ba230cb5dc7a0db34dce910692d453fab187d57ef7c233da43441e2537733ec2937158540a95cb0c
6
+ metadata.gz: 1653a68b2336d328c855c0ce972668d67461b3c5aeb4d15f76a69377f72ff76b21f85b0fc1da73ce491fff4965b6378ac7c7742018b9263a91ec40f34719bda3
7
+ data.tar.gz: 8cbae235b072bd6a68980a4159fd13ea8f7168b4fc760d834371a62bfb1677ded0e1932334204b97ed45004d9baba1c3f0364ae671c5b4f9ceb012fd03bd3237
checksums.yaml.gz.sig CHANGED
@@ -1,2 +1,2 @@
1
- ��(�s�u��`��@���9��ԮX��������G��(��i���3��Ů��z}� ��Yxb7
2
- �u]�v*k �٫�D�e_�����\��\�G�-S�������.~�@�<J��N?}kz.Yϟ�����T�����H.t&K ���(o]':F�W� (:7٩Ӊj���L�+��O. ��Qv�M,� f`KH[0q��l��20�y�/pUd�j_�R���ܠ&�:�}zOsZa�hu���$2�
1
+ `��u�s���V`b,�rS�LDI*N���V���Tk�+�z2?��`�ٱ>���oR��W��?.�cXLv� �7D�Լ�Ҫ�+��g���Ħ��t���pW�v�q����k��*'���/P8`��%{>*>}}z\H���x.QN����B��n_HVW,�;�ڷ��H��)���a��aVB(Q�{'c5XºN��v��KG{v8�o���g�i_#B�
2
+ ��-c������I��M��ô��C�مK~�w_S�W
@@ -19,12 +19,16 @@ module RbSys
19
19
  # Directories to clean after installing with Rubygems
20
20
  attr_accessor :rubygems_clean_dirs
21
21
 
22
+ # Extra targets to install
23
+ attr_accessor :extra_rustup_targets
24
+
22
25
  def initialize(builder)
23
26
  @builder = builder
24
27
  @force_install_rust_toolchain = false
25
28
  @auto_install_rust_toolchain = true
26
29
  @clean_after_install = rubygems_invoked?
27
30
  @rubygems_clean_dirs = ["./cargo-vendor"]
31
+ @extra_rustup_targets = []
28
32
  end
29
33
 
30
34
  # @api private
data/lib/rb_sys/mkmf.rb CHANGED
@@ -253,12 +253,19 @@ module RbSys
253
253
  \t$(Q) curl --proto '=https' --tlsv1.2 --retry 10 --retry-connrefused -fsSL "https://sh.rustup.rs" | sh -s -- --no-modify-path --profile $(RB_SYS_RUSTUP_PROFILE) --default-toolchain none -y
254
254
  \t$(Q) $(CARGO_HOME)/bin/rustup toolchain install $(RB_SYS_DEFAULT_TOOLCHAIN) --profile $(RB_SYS_RUSTUP_PROFILE)
255
255
  \t$(Q) $(CARGO_HOME)/bin/rustup default $(RB_SYS_DEFAULT_TOOLCHAIN)
256
+ #{install_extra_rustup_targets(builder)}
256
257
 
257
258
  $(RUSTLIB): $(CARGO)
258
259
  #{endif_stmt}
259
260
  MAKE
260
261
  end
261
262
 
263
+ def install_extra_rustup_targets(builder)
264
+ builder.extra_rustup_targets.map do |target|
265
+ "\t$(Q) $(CARGO_HOME)/bin/rustup target add #{target}"
266
+ end.join("\n")
267
+ end
268
+
262
269
  def force_install_rust_toolchain?(builder)
263
270
  return builder.force_install_rust_toolchain if builder.force_install_rust_toolchain
264
271
  return false unless builder.rubygems_invoked? && builder.auto_install_rust_toolchain
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RbSys
4
- VERSION = "0.9.78"
4
+ VERSION = "0.9.79"
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.78
4
+ version: 0.9.79
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ian Ker-Seymer
@@ -30,7 +30,7 @@ cert_chain:
30
30
  DIZ6NVmpBvohJVCCCDxQQxFKLXZp1ivoxjN+m7eJSW7yzIz062pH4u8pPNQsiVSb
31
31
  I5rgRPbDr2rAFGXKoQ0+u6CLkRxqrVsITl/OPfZhBQI=
32
32
  -----END CERTIFICATE-----
33
- date: 2023-05-23 00:00:00.000000000 Z
33
+ date: 2023-06-13 00:00:00.000000000 Z
34
34
  dependencies: []
35
35
  description:
36
36
  email:
@@ -82,7 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
82
82
  - !ruby/object:Gem::Version
83
83
  version: '0'
84
84
  requirements: []
85
- rubygems_version: 3.4.6
85
+ rubygems_version: 3.4.10
86
86
  signing_key:
87
87
  specification_version: 4
88
88
  summary: Helpers for compiling Rust extensions for ruby
metadata.gz.sig CHANGED
Binary file