Skip to content

Implement the targets clause on the package directive.#33

Merged
peterhuene merged 2 commits intomainfrom
targets
Jan 16, 2024
Merged

Implement the targets clause on the package directive.#33
peterhuene merged 2 commits intomainfrom
targets

Conversation

@peterhuene
Copy link
Copy Markdown
Member

This PR implements the targets clause on the package directive.

When this clause is present, the parser will validate that the output composition is capable of targeting the world, otherwise it will emit an error.

Closes #20.

This commit implements the `targets` clause on the package directive.

When this clause is present, the parser will validate that the output
composition is capable of targeting the world, otherwise it will emit
an error.

Closes #20.
Comment thread crates/wac-parser/src/resolution.rs Outdated
Comment thread crates/wac-parser/src/resolution.rs Outdated
Comment thread crates/wac-parser/src/resolution.rs Outdated
Comment thread crates/wac-parser/src/resolution.rs Outdated
@peterhuene peterhuene merged commit fb7ca26 into main Jan 16, 2024
@peterhuene peterhuene deleted the targets branch January 16, 2024 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Package directives should allow specifying a world reference for validation.

2 participants