Repository navigation
Support prebuilt WebAssembly libraries in module compilation (0.10.3) - #21
Merged
Merged
Conversation
Module and flow compilers share the guest-link library contract. Co-Authored-By: Codex <noreply@openai.com>
Verify hashes and kinds through shared guest-link handling. Preserve link order and producer symbols, carry libraries into guest-link output, and reject conflicting flow inputs. Add CLI input, documentation, real compile coverage including PEPPER, and version 0.10.2. Co-Authored-By: Codex <noreply@openai.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
MODULE compilation accepts
prebuiltLibraries: relocatable WebAssembly objects and static archives with declared kinds and SHA-256 hashes. Inputs retain producer symbols and link after module objects in declared order. Their bytes participate in the link cache.Module and flow compilation share guest-link verification. Directory and single-file guest-link bundles carry library bytes and metadata. Flows link identical names and hashes once and reject conflicting content for a name or namespace. Existing artifact guards retain their checks; failures name participating libraries. The compile CLI accepts
--prebuilt-librariesand--thread-model. Package and lockfile versions are 0.10.2.Validation:
pepper_vnorm([3, 4, 0])returns 5 without kernels. No PEPPER skip.npm publish --dry-runpassed, includingnpm test,npm run check:compliance, andnpm run check:generated-bindings. The final package inventory passed with lifecycle scripts disabled after the CLI addition.f5dcb5403cc3143517bd1449df46704725e5ad98435ef18b5e9417e513a543ad.Signing checks use throwaway in-memory identities or public test vectors. No release artifact is signed or published.
🤖 Generated with Claude Code