Skip to content

Commit e7923c5

Browse files
authored
chore: Update rb-sys (#317)
* chore: Update rb-sys This commit updates rb-sys to the latest version. I'm hoping that this will fix the failures that are currently in main * Exclude x64-mingw32 3.0 is no longer considered stable ruby version and according to https://github.com/rake-compiler/rake-compiler-dock?tab=readme-ov-file#windows, x64-mingw32 should be used for 3.0 and below * Exclude `x64-mingw32` in the release job
1 parent 3e9485b commit e7923c5

File tree

4 files changed

+16
-6
lines changed

4 files changed

+16
-6
lines changed

.github/workflows/build-gems.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,12 @@ jobs:
2020
uses: oxidize-rb/actions/fetch-ci-data@v1
2121
with:
2222
supported-ruby-platforms: |
23-
exclude: [arm-linux] # no cranelift support yet
23+
# Excluding:
24+
# `arm-linux`: Cranelift doesn't support 32-bit architectures
25+
# `x64-mingw32`: `x64-mingw-ucrt` should be used for Ruby 3.1+ (https://github.com/rake-compiler/rake-compiler-dock?tab=readme-ov-file#windows)
26+
# 3.0 is deprecated as stable ruby version according to:
27+
# https://github.com/oxidize-rb/actions/blob/main/fetch-ci-data/evaluate.rb#L54
28+
exclude: [arm-linux, x64-mingw32]
2429
stable-ruby-versions: |
2530
exclude: [head]
2631

.github/workflows/release.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,12 @@ jobs:
2020
uses: oxidize-rb/actions/fetch-ci-data@v1
2121
with:
2222
supported-ruby-platforms: |
23-
exclude: [arm-linux] # no cranelift support yet
23+
# Excluding:
24+
# `arm-linux`: Cranelift doesn't support 32-bit architectures
25+
# `x64-mingw32`: `x64-mingw-ucrt` should be used for Ruby 3.1+ (https://github.com/rake-compiler/rake-compiler-dock?tab=readme-ov-file#windows)
26+
# 3.0 is deprecated as stable ruby version according to:
27+
# https://github.com/oxidize-rb/actions/blob/main/fetch-ci-data/evaluate.rb#L54
28+
exclude: [arm-linux, x64-mingw32]
2429
stable-ruby-versions: |
2530
exclude: [head]
2631

Gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ PATH
22
remote: .
33
specs:
44
wasmtime (18.0.3)
5-
rb_sys (~> 0.9.86)
5+
rb_sys (~> 0.9.97)
66

77
GEM
88
remote: https://rubygems.org/
@@ -28,7 +28,7 @@ GEM
2828
rake (13.1.0)
2929
rake-compiler (1.2.7)
3030
rake
31-
rb_sys (0.9.89)
31+
rb_sys (0.9.97)
3232
regexp_parser (2.9.0)
3333
rexml (3.2.6)
3434
rspec (3.13.0)

wasmtime.gemspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
1212
spec.description = "A Ruby binding for Wasmtime, a WebAssembly runtime."
1313
spec.homepage = "https://github.com/BytecodeAlliance/wasmtime-rb"
1414
spec.license = "Apache-2.0"
15-
spec.required_ruby_version = ">= 3.0.0"
15+
spec.required_ruby_version = ">= 3.1.0"
1616

1717
spec.metadata["source_code_uri"] = "https://github.com/BytecodeAlliance/wasmtime-rb"
1818
spec.metadata["cargo_crate_name"] = "wasmtime-rb"
@@ -29,5 +29,5 @@ Gem::Specification.new do |spec|
2929

3030
spec.rdoc_options += ["--exclude", "vendor"]
3131

32-
spec.add_dependency "rb_sys", "~> 0.9.86"
32+
spec.add_dependency "rb_sys", "~> 0.9.97"
3333
end

0 commit comments

Comments
 (0)