Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge the document and world settings. #52

Merged
merged 1 commit into from
Feb 23, 2023

Conversation

peterhuene
Copy link
Member

This PR merges the document and world settings in Cargo.toml for specifying the target world to use from a package.

Additionally, it updates the resolution to first use Resolve::select_world to find the world to use.

As binary-encoded WIT packages don't currently encode a notion of a "default" world, the previous fallback is kept for parsing binary WIT packages.

Dependencies have also been updated.

Closes #51.

This commit merges the `document` and `world` settings in Cargo.toml for
specifying the target world to use from a package.

Additionally, it updates the resolution to first use `Resolve::select_world` to
find the world to use.

As binary-encoded WIT packages don't currently encode a notion of a "default"
world, the previous fallback is kept for parsing binary WIT packages.

Closes bytecodealliance#51.
@peterhuene peterhuene merged commit 92744a8 into bytecodealliance:main Feb 23, 2023
@peterhuene peterhuene deleted the fix-world branch February 23, 2023 17:56
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.

Merge the document and world settings in Cargo.toml
2 participants