Native Windows ARM64 builds of tursodatabase/libsql-js
published as the @libsql/win32-arm64-msvc platform package — the one
Turso does not ship, which otherwise blocks
native ARM64 Electron/Node apps that depend on libsql.
Consumed by superset-windows-arm64.
- A GitHub Actions workflow runs nightly (also
workflow_dispatch). - Change-gated: it determines the target libsql version (latest on npm, or
a
workflow_dispatchinput) and only builds if that version is not already released here — no rebuilds when nothing changed. - On a native
windows-11-armrunner it compiles upstreamlibsql-jsunmodified foraarch64-pc-windows-msvc(Rust + VS 2022), bypassing the neon-rs CLI (the built cdylib is the Node addon — seePATCHES.md). - It verifies the
index.nodeis ARM64 and loads under ARM64 Node, then publishes a per-version Release (tag = the libsql version) withlibsql-win32-arm64-msvc.tar.gz+ a.sha256.
Download the Release tagged with the libsql version you need:
gh release download <libsql-version> --repo khairm/libsql-windows-arm64 \
-p 'libsql-win32-arm64-msvc.tar.gz' -p 'libsql-win32-arm64-msvc.tar.gz.sha256'
sha256sum -c libsql-win32-arm64-msvc.tar.gz.sha256
mkdir -p out && tar -xzf libsql-win32-arm64-msvc.tar.gz -C out # -> out/index.node + out/package.jsonDrop out/ in as node_modules/@libsql/win32-arm64-msvc so libsql's
require("@libsql/win32-arm64-msvc") resolves.
If a version you need has not been built yet, trigger it:
gh workflow run "Nightly libsql Windows ARM64 Build" \
--repo khairm/libsql-windows-arm64 -f libsql_version=<version>Runs on the free windows-11-arm GitHub-hosted runner (public repos). No
secrets required — the build is deterministic (no AI patch step; upstream is
compiled unmodified).
Upstream: tursodatabase/libsql-js (MIT). This repo only compiles the missing Windows ARM64 target; not affiliated with Turso.