Skip to content

wasm: replace wasm3 with WAMR#747

Merged
saghul merged 1 commit intomasterfrom
wamr
Feb 3, 2026
Merged

wasm: replace wasm3 with WAMR#747
saghul merged 1 commit intomasterfrom
wamr

Conversation

@saghul
Copy link
Copy Markdown
Owner

@saghul saghul commented Feb 2, 2026

Closes: #652

@ldeninski
Copy link
Copy Markdown
Contributor

Any chance that this will allow for Instance.Memory access? I am working on making possible to use llhttp with txiki as an http protocol parser. This will make it possible txiki to act as efficient http server.

@saghul saghul force-pushed the wamr branch 2 times, most recently from 478a788 to 97927cb Compare February 2, 2026 15:28
@saghul
Copy link
Copy Markdown
Owner Author

saghul commented Feb 2, 2026

Any chance that this will allow for Instance.Memory access? I am working on making possible to use llhttp with txiki as an http protocol parser. This will make it possible txiki to act as efficient http server.

Yes, I think so. Once the replacement lands I plan to tackle the API gap.

@saghul saghul force-pushed the wamr branch 5 times, most recently from 79a6a53 to ea9ac0c Compare February 2, 2026 19:40
@saghul saghul marked this pull request as ready for review February 2, 2026 20:14
CMakeLists.txt Outdated
Comment on lines +78 to +79
set(WAMR_BUILD_REF_TYPES 0)
set(WAMR_BUILD_BULK_MEMORY 0)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I am not sure how WAMR_BUILD_REF_TYPES and WAMR_BUILD_BULK_MEMORY affect the tjs wamr bindings, but will there be a way to toggle on these two when building? wasi-sdk emits code that uses reference-types and bulk memory by default and I have no idea how or even if I can configure clang (and the linker) to not use these extensions..

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

..I am still in the process of understanding how cmake works and how to fiddle with clang toolchain configs :(. So probably I am missing something.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

The idea is to have sane defaults, I can look into those, thanks for the heads up!

@saghul saghul merged commit 351bc80 into master Feb 3, 2026
19 checks passed
@saghul saghul deleted the wamr branch February 3, 2026 08:52
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