Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Emscripten no longer exportHEAPU8 by default after v4.0.7#278

Answeredbyrhashimoto
subframe7536 asked this question inQ&A
Discussion options

Changelog

I have tried to setupEMFLAGS_EXTRA env variable in many ways but all not work:subframe7536/sqwab@508c1fc

You must be logged in to vote

I addedHEAPU8 and HEAP32 to src/extra_exported_runtime_methods.json, and I think that fixes the build with EMSDK 4.0.7+.

@subframe7536 I think the change in your sqwab fork would have worked except it was applied to the wrong file, as@khanhiceteasuggests. Note that sqwab already has a mechanism to add or edit files by putting them under overlay.wa-sqlite, which might be easier than changing the workflow.

Replies: 4 comments 1 reply

Comment options

Found thatEXPORTED_RUNTIME_METHODS inEMFLAGS_EXTRA will be overrided byEMFLAGS_INTERFACES

You must be logged in to vote
0 replies
Comment options

https://github.com/subframe7536/sqwab/actions/runs/15345257994/job/43179989242#step:9:223

HEAP32 is undefined, should I export it?

You must be logged in to vote
0 replies
Comment options

AFAIK, all you need to do is build with:

-sEXPORTED_RUNTIME_METHODS=HEAP8,HEAPU8,HEAP16,HEAPU16,HEAP32,HEAPU32,HEAP64,HEAPU64

That resolved this issue for our build (unrelated to wa-sqlite, but we found out about this breaking change from this thread).

You must be logged in to vote
1 reply
@subframe7536
Comment options

Thanks, I have already add these variables:

https://github.com/subframe7536/sqwab/actions/runs/15345257994/workflow#L56-L67

But still fail to build.

Comment options

I addedHEAPU8 and HEAP32 to src/extra_exported_runtime_methods.json, and I think that fixes the build with EMSDK 4.0.7+.

@subframe7536 I think the change in your sqwab fork would have worked except it was applied to the wrong file, as@khanhiceteasuggests. Note that sqwab already has a mechanism to add or edit files by putting them under overlay.wa-sqlite, which might be easier than changing the workflow.

You must be logged in to vote
0 replies
Answer selected bysubframe7536
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Q&A
Labels
None yet
3 participants
@subframe7536@rhashimoto@sgbeal

[8]ページ先頭

©2009-2025 Movatter.jp