Skip to content

Adds @rules_rust with an example WASM compilation - #70771

Open
dgp1130 wants to merge 3 commits into
angular:mainfrom
dgp1130:rust-wasm
Open

dgp1130 wants to merge 3 commits into
angular:mainfrom
dgp1130:rust-wasm

Conversation

@dgp1130

@dgp1130 dgp1130 commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

This configures the @rules_rust toolchain and adds a WASM node binary with a simple test to verify.

/cc @josephperrott @devversion @clydin

Configured `rules_rust` using `bzlmod`. Defines a minimal root Cargo setup and hello-world module.
@dgp1130
dgp1130 requested a review from alxhub September 17, 2026 00:36
@dgp1130 dgp1130 added area: build & ci Related the build and CI infrastructure of the project action: review The PR is still awaiting reviews from at least one requested reviewer target: minor This PR is targeted for the next minor release labels Sep 17, 2026
@ngbot ngbot Bot added this to the Backlog milestone Sep 17, 2026
@pullapprove
pullapprove Bot requested a review from josephperrott September 17, 2026 00:36
@dgp1130
dgp1130 force-pushed the rust-wasm branch 2 times, most recently from fac2a6a to d203e6e Compare September 17, 2026 01:00
Comment thread .github/workflows/pr.yml Outdated
Creates a standard cdylib compiled to wasm32-unknown-unknown and packaged with aspect_rules_js.
This verifies that a Node binary can load and execute the WASM code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: review The PR is still awaiting reviews from at least one requested reviewer area: build & ci Related the build and CI infrastructure of the project target: minor This PR is targeted for the next minor release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants