build(zig): support wasmtime for ARM64 Windows (MSVC)
(cherry picked from commit e0edfe1cb3)
This commit is contained in:
parent
77e5c1c8aa
commit
cd503e803d
2 changed files with 9 additions and 0 deletions
|
|
@ -83,6 +83,10 @@ pub fn wasmtimeDep(target: std.Target) []const u8 {
|
|||
.msvc => "wasmtime_c_api_x86_64_windows",
|
||||
else => null,
|
||||
},
|
||||
.aarch64 => switch (abi) {
|
||||
.msvc => "wasmtime_c_api_aarch64_windows",
|
||||
else => null,
|
||||
},
|
||||
else => null,
|
||||
},
|
||||
.macos => switch (arch) {
|
||||
|
|
|
|||
|
|
@ -27,6 +27,11 @@
|
|||
.hash = "N-V-__8AAM1GMARD6LGQebhVsSZ0uePUoo3Fw5nEO2L764vf",
|
||||
.lazy = true,
|
||||
},
|
||||
.wasmtime_c_api_aarch64_windows = .{
|
||||
.url = "https://github.com/bytecodealliance/wasmtime/releases/download/v29.0.1/wasmtime-v29.0.1-aarch64-windows-c-api.zip",
|
||||
.hash = "N-V-__8AAH8a_wQ7oAeVVsaJcoOZhKTMkHIBc_XjDyLlHp2x",
|
||||
.lazy = true,
|
||||
},
|
||||
.wasmtime_c_api_riscv64gc_linux = .{
|
||||
.url = "https://github.com/bytecodealliance/wasmtime/releases/download/v29.0.1/wasmtime-v29.0.1-riscv64gc-linux-c-api.tar.xz",
|
||||
.hash = "N-V-__8AAN2cuQadBwMc8zJxv0sMY99Ae1Nc1dZcZAK9b4DZ",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue