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

Fix "run --invoke [function]" to behave the same as "run" #2997

Merged
merged 4 commits into from
Jul 22, 2022

Conversation

fschutt
Copy link
Contributor

@fschutt fschutt commented Jul 1, 2022

Prior to this change, wasmer run --function _start and wasmer run would behave
differently because wasmer run uses the WASI environment but --invoke did not.

Closes #2978.

Review

  • Add a short description of the change to the CHANGELOG.md file

@fschutt fschutt requested a review from syrusakbary as a code owner July 1, 2022 12:48
@fschutt fschutt marked this pull request as draft July 1, 2022 12:48
@fschutt fschutt self-assigned this Jul 4, 2022
@fschutt fschutt marked this pull request as ready for review July 4, 2022 11:29
Comment on lines +10 to +12
[dev-dependencies]
rand = "0.8.5"

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tempfile is useful for this workflow. (Don't rewrite your PR for this minor thing, it's just a suggestion for future tests)

@syrusakbary
Copy link
Member

I think we should merge #2892 first

@epilys
Copy link
Contributor

epilys commented Jul 21, 2022

Please rebase, not merge. Merge commits should not exist in PRs.

@fschutt fschutt force-pushed the test-wasi-nomain branch from 9cb18bf to 8ec204f Compare July 22, 2022 14:48
@fschutt fschutt force-pushed the test-wasi-nomain branch from ad4545a to 35d880d Compare July 22, 2022 14:52
@fschutt
Copy link
Contributor Author

fschutt commented Jul 22, 2022

@syrusakbary can be reviewed + merged now

@syrusakbary syrusakbary merged commit ea12ec0 into master Jul 22, 2022
@bors bors bot deleted the test-wasi-nomain branch July 22, 2022 19:22
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.

Using WASI from wasmer cli
3 participants