Repository navigation
Conversation
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
hlolli
force-pushed
the
feat/wasm-preview2-targets
branch
from
November 6, 2026 06:26
df9d1de to
1565d2e
Compare
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.
Depends on csound/csound#3556. Keep this draft until that PR merges and matching npm releases can replace the source checkout in CI.
Build the Chua, image, linear algebra, and STK plugins for WASI Preview 3 (0.3.2). The wasm32 build uses float samples, and the wasm64 build uses double samples. Both use 64-bit
cs_double. The matching Csound SDK supplies the generated headers, and LLVM and wasi-libc build from the same Nix pins as the engine.@csound/pluginsselects wasm32 float. Use@csound/plugins/wasm64with the opt-in@csound/browser/wasm64.jsengine. Each entry exports onepluginsobject. Wasm64 assets end in-wasm64.wasm.The plugins follow the engine's working directory and keep their own libc descriptor tables. Wasm64 plugins embed the Preview 3 adapter for their WASI imports. Keep libc++'s stream-copy fallback for WASI filesystems.
CI builds the matching engines and Csound SDKs from
1b7028d766693e51bb33118d2193ab0361d62524of csound/csound#3556. Until matching npm releases exist, setCSOUND_WASM_PACKAGEto the built Csound source tree.