tolumide-ng opened PR #12804 from tolumide-ng:fix/remove-gc-from-wasmtime-dep to bytecodealliance:main:
The
c-apicrate currently enables thegcfeature on itswasmtimedependency, even though it exposes agcfeature to control this behaviour. This prevents downstream users from disablinggc, sinceCargo.tomldoesn't allow overriding it.Changes
- Removes the explicitly set
gcfeature for thewasmtimedependency inc-api, thus enabling downstream users to specify this behaviour.- Adds ci job for building the
c-apicrate without default features, and with thegcfeatureNote
This introduces a breaking change for downstream users who may not have explicitly enabled the
gcfeature on thec-apicrate but rely on it.Closes https://github.com/bytecodealliance/wasmtime/issues/12783
tolumide-ng requested pchickey for a review on PR #12804.
tolumide-ng requested wasmtime-core-reviewers for a review on PR #12804.
tolumide-ng requested wasmtime-default-reviewers for a review on PR #12804.
tolumide-ng converted PR #12804 Remove the explicit gc feature from the wasmtime dependency in the c-api crate to a draft.
tolumide-ng closed without merge PR #12804.
tolumide-ng reopened PR #12804 from tolumide-ng:fix/remove-gc-from-wasmtime-dep to bytecodealliance:main.
tolumide-ng closed without merge PR #12804.
Last updated: Mar 23 2026 at 16:19 UTC