Skip to content

Commit

Permalink
Expand mention to suitability of the builder
Browse files Browse the repository at this point in the history
  • Loading branch information
aumetra committed Jun 24, 2024
1 parent 2cb191c commit 74d9db0
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/pages/core/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,18 @@ platform.
For production builds you probably also want to install [Docker], too.
<br /> 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
```

</Callout>

After installing Rust, you need to add the WebAssembly target. This is needed so
Expand Down

0 comments on commit 74d9db0

Please sign in to comment.