Skip to content

lib-vt: enable freestanding wasm builds#9301

Merged
mitchellh merged 1 commit intomainfrom
push-votoyqopuzmu
Oct 22, 2025
Merged

lib-vt: enable freestanding wasm builds#9301
mitchellh merged 1 commit intomainfrom
push-votoyqopuzmu

Conversation

@mitchellh
Copy link
Contributor

This makes libghostty-vt build for freestanding wasm targets (aka a browser) and produce a ghostty-vt.wasm file. This exports the same C API that libghostty-vt does.

This commit specifically makes the changes necessary for the build to build properly and for us to run the build in CI. We don't yet actually try using it...

This makes `libghostty-vt` build for freestanding wasm targets (aka a
browser) and produce a `ghostty-vt.wasm` file. This exports the same C
API that libghostty-vt does.

This commit specifically makes the changes necessary for the build to
build properly and for us to run the build in CI. We don't yet actually
try using it...
@mitchellh mitchellh requested a review from a team as a code owner October 22, 2025 03:32
@mitchellh
Copy link
Contributor Author

image

I slopped some stuff together with AI and verified this does actually work (not pushing this slop example). There are definitely some DX issues that we need to iron out and I will look into that but the goal of this PR was to make it compile and ensure we keep it compiling via CI.

@mitchellh mitchellh merged commit 9dc2e59 into main Oct 22, 2025
106 of 110 checks passed
@mitchellh mitchellh deleted the push-votoyqopuzmu branch October 22, 2025 03:55
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.

1 participant