diff --git a/dist/wasm-tools/setup/index.js b/dist/wasm-tools/setup/index.js index 35e609b..242bce4 100644 --- a/dist/wasm-tools/setup/index.js +++ b/dist/wasm-tools/setup/index.js @@ -16984,6 +16984,8 @@ function getArch() { return 'aarch64'; case 'x64': return 'x86_64'; + case 'riscv64': + return 'riscv64gc'; default: throw new Error(`Unsupported operating system architecture: ${arch}`); } diff --git a/dist/wasmtime/setup/index.js b/dist/wasmtime/setup/index.js index 0cd1a7c..235e163 100644 --- a/dist/wasmtime/setup/index.js +++ b/dist/wasmtime/setup/index.js @@ -16984,6 +16984,8 @@ function getArch() { return 'aarch64'; case 'x64': return 'x86_64'; + case 'riscv64': + return 'riscv64gc'; default: throw new Error(`Unsupported operating system architecture: ${arch}`); } diff --git a/dist/wit-bindgen/setup/index.js b/dist/wit-bindgen/setup/index.js index 031f7f9..c63d256 100644 --- a/dist/wit-bindgen/setup/index.js +++ b/dist/wit-bindgen/setup/index.js @@ -16984,6 +16984,8 @@ function getArch() { return 'aarch64'; case 'x64': return 'x86_64'; + case 'riscv64': + return 'riscv64gc'; default: throw new Error(`Unsupported operating system architecture: ${arch}`); } diff --git a/src/system.ts b/src/system.ts index 7a10ed9..bada518 100644 --- a/src/system.ts +++ b/src/system.ts @@ -29,6 +29,8 @@ export function getArch(): string { return 'aarch64' case 'x64': return 'x86_64' + case 'riscv64': + return 'riscv64gc' default: throw new Error(`Unsupported operating system architecture: ${arch}`) }