Tools
Shopify Functions template and Shopify CLI changes to support Rust 1.84
In anticipation of the removal of the wasm32-wasi build target in Rust 1.84, Shopify has updated its Shopify Functions templates for Rust. The cargo-wasi
utility has been removed because it is incompatible with Rust 1.84 and later versions.
Additionally, starting with Shopify CLI 3.73, all function builds now include an optimization pass by default. Previously, this optimization was handled by cargo-wasi
.
Before you update to Rust 1.84, we recommend reviewing and following the steps outlined here. These changes are compatible with Rust 1.78 and above.
Was this section helpful?