Skip to content

Ports: Add wabt and uvwasi - #27182

Open
tbhaxor wants to merge 1 commit into
SerenityOS:masterfrom
tbhaxor:ports/wabt
Open

tbhaxor wants to merge 1 commit into
SerenityOS:masterfrom
tbhaxor:ports/wabt

Conversation

@tbhaxor

@tbhaxor tbhaxor commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

Add uvwasi as a port so that it links against the libuv already built for Serenity. wabt is then built with WASI support enabled, using the installed uvwasi instead of its vendored copy (which ignores the sysroot libuv and always fetched its own).

@tbhaxor
tbhaxor requested a review from timschumi as a code owner November 16, 2026 08:55
@github-actions github-actions Bot added the 👀 pr-needs-review PR needs review from a maintainer or community member label Nov 16, 2026
Comment thread Ports/uvwasi/package.sh Resolved
Comment thread Ports/uvwasi/package.sh Resolved
Comment thread Ports/uvwasi/package.sh Resolved
Comment thread Ports/wabt/package.sh Resolved
Comment thread Ports/uvwasi/package.sh Resolved
Comment thread Ports/uvwasi/package.sh Resolved
Comment thread Ports/wabt/package.sh Resolved
Comment thread Ports/AvailablePorts.md Resolved

@linusg linusg left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

looks good, thanks for the upstream PR!

@tbhaxor

tbhaxor commented Nov 18, 2026

Copy link
Copy Markdown
Contributor Author

thanks for the upstream PR

Looks like it won't be required nodejs/uvwasi#313

@LucasChollet LucasChollet added ⏳ pr-waiting-for-author PR is blocked by feedback / code changes from the author and removed 👀 pr-needs-review PR needs review from a maintainer or community member labels Nov 24, 2026
@github-actions github-actions Bot added 👀 pr-needs-review PR needs review from a maintainer or community member and removed ⏳ pr-waiting-for-author PR is blocked by feedback / code changes from the author labels Nov 25, 2026
@tbhaxor
tbhaxor requested a review from linusg November 25, 2026 14:50
@linusg

linusg commented Nov 25, 2026

Copy link
Copy Markdown
Member

I'm not a maintainer, please request further review from someone else.

Add uvwasi as a port so that it links against the libuv already
built for Serenity. wabt is then built with WASI support enabled,
using the installed uvwasi instead of its vendored copy (which
ignores the sysroot libuv and always fetched its own).
#if WITH_WASI
uvwasi_errno_t err;
- uvwasi_options_t init_options;
+ uvwasi_options_t init_options{};

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.

Can you say why we need this but upstream doesn't?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

👀 pr-needs-review PR needs review from a maintainer or community member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants