Skip to content

Commit 3ebdde3

Browse files
Bump WASI SDK to version 25
It includes some new stubs (like fchmod) and they are necessary to build the latest ruby/ruby revisions. WebAssembly/wasi-libc@cc62fa8
1 parent 72689cb commit 3ebdde3

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

‎lib/ruby_wasm/build/toolchain.rb‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class WASISDK < Toolchain
5656
definitialize(
5757
wasi_sdk_path=ENV["WASI_SDK_PATH"],
5858
build_dir: nil,
59-
version_major: 21,
59+
version_major: 25,
6060
version_minor: 0,
6161
binaryen_version: 108
6262
)
@@ -111,8 +111,9 @@ def wasi_sdk_path
111111
defdownload_url(version_major,version_minor)
112112
version="#{version_major}.#{version_minor}"
113113
assets=[
114-
[/x86_64-linux/,"wasi-sdk-#{version}-linux.tar.gz"],
115-
[/(arm64e?|x86_64)-darwin/,"wasi-sdk-#{version}-macos.tar.gz"]
114+
[/x86_64-linux/,"wasi-sdk-#{version}-x86_64-linux.tar.gz"],
115+
[/arm64e?-darwin/,"wasi-sdk-#{version}-arm64-macos.tar.gz"],
116+
[/x86_64-darwin/,"wasi-sdk-#{version}-x86_64-macos.tar.gz"]
116117
]
117118
asset=assets.find{ |os,_| os =~ RUBY_PLATFORM}&.at(1)
118119
ifasset.nil?

0 commit comments

Comments
(0)