Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Add a CLI subcommand for validating the target of a component

Open
#40 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
rust, wasm
Domain
cli, devtools

Research direction

Start at the CLI entry point and trace how existing commands handle WebAssembly components and composition validation. Implement the proposed wac validate --target <WORLD> <COMPONENT> flow using the standalone WAC validation behavior described in the issue; done means the example component can be checked against wasi:http/proxy without a composition.

Written by the indexing model from the issue text.

Description

We should add a CLI subcommand for quickly validating the target of a component (any component, not just one from a composition).

Under the covers, it'll behave like the following (relatively silly) WAC document:

package composition:validation targets $WORLD;

export new $COMPONENT { ... }...;

Where $WORLD is the target world and $COMPONENT is the component being validated.

A suggested CLI UX:

wac validate --target <WORLD> <COMPONENT>

With example:

wac validate --target wasi:http/proxy my-proxy.wasm
Dominant language
Rust
Stars
208
Forks
41
Avg merge
2d 7h
Merged PRs (30d)
3

Getting set up

We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from bytecodealliance/wac

All issues in bytecodealliance/wac

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.