bytecodealliance / bytecodealliance/wac

Add a CLI subcommand for validating the target of a component

Open
#40 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Rust
Stars
208
Forks
41
Avg merge
2d 7h
Merged PRs (30d)
3

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:

```wac
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
```

With example:

```
wac validate --target wasi:http/proxy my-proxy.wasm
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.