How to build a canister without provisioning a canister ID for it?

Turns out I forgot to answer your actual question…

It’s cargo build --target wasm32-unknown-unknown --release --locked -p <your canister name> and then ic-wasm <wasm file> shrink

1 Like