See the documentation about installing common tooling: https://learn.golem.cloud/docs/rust-language-guide/setup

Compile the Rust component with cargo-component:
  cargo component build --release
The result in target/wasm32-wasi/release/component_name.wasm is ready to be used with Golem!
