Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wasm library build support #18

Open
wants to merge 1 commit into
base: REL_16_STABLE
Choose a base branch
from
Open

wasm library build support #18

wants to merge 1 commit into from

Conversation

pmp-p
Copy link
Collaborator

@pmp-p pmp-p commented Feb 10, 2025

emsdk 3.1.74 build tested, though configure may need wrapping the emcc compiler in order to properly enable/detect all features.

patch file : https://patch-diff.githubusercontent.com/raw/electric-sql/postgres-pglite/pull/18.diff

PqSendPointer = 0;
PqSendBuffer_save = PqSendBuffer;
PqSendBuffer = 2 + (char*)(cma_rsize);
PqSendBufferSize = (64*1024*1024) - (int)(&PqSendBuffer[0]);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hardcoded 64MB @pmp-p

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants