Skip to content

Add wasm64 builds to CI and publish - #3203

Merged
texodus merged 1 commit into
masterfrom
wasm64
Jul 27, 2026
Merged

Add wasm64 builds to CI and publish#3203
texodus merged 1 commit into
masterfrom
wasm64

Conversation

@texodus

@texodus texodus commented Jul 26, 2026

Copy link
Copy Markdown
Member

This PR enabled a parallel Memory64 build of @perspective-dev/server, which allows allocating more than 4gb in Perspective wasm.

init_server accepts both binaries at once — register each as a thunk and only the selected binary is ever downloaded. The wasm64 binary is used whenever the browser supports Memory64; registering only the wasm32 binary (as above) opts out.

perspective.init_server({
    wasm32: () => fetch(SERVER_WASM),
    wasm64: () => fetch(SERVER_WASM64),
});

Signed-off-by: Andrew Stein <steinlink@gmail.com>
@texodus texodus added the enhancement Feature requests or improvements label Jul 26, 2026
@texodus
texodus marked this pull request as ready for review July 27, 2026 04:53
@texodus
texodus merged commit 2cbac31 into master Jul 27, 2026
54 of 55 checks passed
@texodus
texodus deleted the wasm64 branch July 27, 2026 04:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Feature requests or improvements

Development

Successfully merging this pull request may close these issues.

1 participant