Stream: git-wasmtime

Topic: wasmtime / PR #11096 Add CI job to verify static library ...


view this post on Zulip Wasmtime GitHub notifications bot (Jun 21 2025 at 11:52):

thedevyashsaini opened PR #11096 from thedevyashsaini:main to bytecodealliance:main:

This PR introduces a dedicated CI job (build-static-lib) that verifies the static library build of Wasmtime by passing -DWASMEDGE_BUILD_STATIC_LIB=ON to CMake.

Changes:

Motivation:

Static library builds can fail due to symbol collisions or source file name conflicts. CI coverage ensures we catch such regressions early.

Related:

Fixes #3608
Refs this comment suggesting the need for a STATIC_LIB=ON build in CI.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 21 2025 at 11:52):

thedevyashsaini requested fitzgen for a review on PR #11096.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 21 2025 at 11:52):

thedevyashsaini requested wasmtime-default-reviewers for a review on PR #11096.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 21 2025 at 19:11):

alexcrichton commented on PR #11096:

@thedevyashsaini did you mean to send this PR to the WasmEdge project instead of Wasmtime?

view this post on Zulip Wasmtime GitHub notifications bot (Jun 21 2025 at 19:31):

thedevyashsaini commented on PR #11096:

@alexcrichton yeaah, this started as a fix for WasmEdge and somewhere down the rabbit hole I ended up static linking Wasmtime by instinct :sweat_smile:
That said - the CI test might still be useful here, but feel free to shut it down if it's out of scope...

view this post on Zulip Wasmtime GitHub notifications bot (Jun 21 2025 at 23:05):

alexcrichton commented on PR #11096:

Ok, in that case I'm going to close this beacuse I don't think this does what you think it does in terms of testing. AFAIK this doesn't actually do anything on CI as the cmake option you specify here isn't read anywhere. As a result I'm going to close this.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 21 2025 at 23:05):

alexcrichton closed without merge PR #11096.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 22 2025 at 05:47):

thedevyashsaini commented on PR #11096:

@alexcrichton

Totally understand closing this — thanks for reviewing!

Just wanted to clarify one point you mentioned:

“the cmake option you specify here isn’t read anywhere…”

I believe it is wired through the CI scripts. Here’s the flow I followed:

In any case, totally fair to close this if it's not useful — just thought I'd clarify in case this ends up being worth revisiting later. Cheers!

view this post on Zulip Wasmtime GitHub notifications bot (Jun 22 2025 at 05:48):

thedevyashsaini deleted a comment on PR #11096:

@alexcrichton

Totally understand closing this — thanks for reviewing!

Just wanted to clarify one point you mentioned:

“the cmake option you specify here isn’t read anywhere…”

I believe it is wired through the CI scripts. Here’s the flow I followed:

In any case, totally fair to close this if it's not useful — just thought I'd clarify in case this ends up being worth revisiting later. Cheers!

view this post on Zulip Wasmtime GitHub notifications bot (Jun 22 2025 at 05:51):

thedevyashsaini commented on PR #11096:

Thanks for the review! Yep, just realized -DWASMEDGE_BUILD_STATIC_LIB isn’t defined in Wasmtime’s CMake. Appreciate the clarification!


Last updated: Dec 06 2025 at 06:05 UTC