Skip to content

Commit c388a83

Browse files
Merge pull request #179 from makenowjust/arm64e
2 parents 0ef6903 + 9a07ad5 commit c388a83

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/ruby_wasm/build_system/product/wasi_vfs.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def cli_download_url
6565
assets = [
6666
[/x86_64-linux/, "wasi-vfs-cli-x86_64-unknown-linux-gnu.zip"],
6767
[/x86_64-darwin/, "wasi-vfs-cli-x86_64-apple-darwin.zip"],
68-
[/arm64-darwin/, "wasi-vfs-cli-aarch64-apple-darwin.zip"]
68+
[/arm64e?-darwin/, "wasi-vfs-cli-aarch64-apple-darwin.zip"]
6969
]
7070
asset = assets.find { |os, _| os =~ RUBY_PLATFORM }&.at(1)
7171
if asset.nil?

lib/ruby_wasm/build_system/toolchain.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def binaryen_download_url(version)
127127
"binaryen-version_#{@binaryen_version}-x86_64-macos.tar.gz"
128128
],
129129
[
130-
/arm64-darwin/,
130+
/arm64e?-darwin/,
131131
"binaryen-version_#{@binaryen_version}-arm64-macos.tar.gz"
132132
]
133133
]

0 commit comments

Comments
 (0)