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

Stop using cargo-wasi #580

Merged
merged 3 commits into from
Jan 8, 2025
Merged

Stop using cargo-wasi #580

merged 3 commits into from
Jan 8, 2025

Conversation

lopert
Copy link
Contributor

@lopert lopert commented Dec 6, 2024

Given cargo-wasi is no longer maintained, we should no longer use it in our function examples.

This PR will update the build command to use the newer target, wasm32-wasip1
See: https://blog.rust-lang.org/2024/04/09/updates-to-rusts-wasi-targets.html

Handles https://github.com/Shopify/shopify-functions/issues/449

Do not merge this until we have another way of running wasm-opt, probably through the CLI directly.

@lopert lopert marked this pull request as ready for review December 10, 2024 18:01
@lopert
Copy link
Contributor Author

lopert commented Dec 10, 2024

Switched this to Ready for review since the CLI PR is up for review now.
Shopify/cli#5063

Copy link
Contributor

@andrewhassan andrewhassan left a comment

Choose a reason for hiding this comment

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

Didn't 🎩 but code LGTM!

One other spot I think we should update is this Github action

@lopert lopert changed the title [DNM] Stop using cargo-wasi Stop using cargo-wasi Jan 8, 2025
@lopert lopert merged commit 2ae226e into main Jan 8, 2025
4 checks passed
@lopert lopert deleted the lopert.wasm32-wasi-removal branch January 8, 2025 19:18
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.

3 participants