diff --git a/src/pages/core/installation.mdx b/src/pages/core/installation.mdx index 52c839aa..5988a99a 100644 --- a/src/pages/core/installation.mdx +++ b/src/pages/core/installation.mdx @@ -24,6 +24,18 @@ platform. For production builds you probably also want to install [Docker], too.
This is because we offer the [CosmWasm Optimizing Compiler], which uses a Docker image to build the smallest contract possible in a deterministic fashion. + +Please note that this image is _not_ suitable for development or in general +environments where you want to iterate quickly. The builder is optimizing for +size, not compilation speed. If you want to slim down your contract for +development, you can do so by tweaking your Cargo profile. + +```toml +[profile.dev] +lto = "thin" +strip = true +``` + After installing Rust, you need to add the WebAssembly target. This is needed so