Skip to content

Commit d752bfc

Browse files
Fix wasi-sdk downloader for Ventura's system ruby
because it's now built for universal.arm64e-darwin22
1 parent f4958c5 commit d752bfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ruby_wasm/build_system/toolchain.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def download_url(version_major, version_minor)
107107
version = "#{version_major}.#{version_minor}"
108108
assets = [
109109
[/x86_64-linux/, "wasi-sdk-#{version}-linux.tar.gz"],
110-
[/(arm64|x86_64)-darwin/, "wasi-sdk-#{version}-macos.tar.gz"]
110+
[/(arm64e?|x86_64)-darwin/, "wasi-sdk-#{version}-macos.tar.gz"]
111111
]
112112
asset = assets.find { |os, _| os =~ RUBY_PLATFORM }&.at(1)
113113
if asset.nil?

0 commit comments

Comments
 (0)