Skip to content

Commit

Permalink
Expand alert
Browse files Browse the repository at this point in the history
  • Loading branch information
johnthagen committed Jun 25, 2024
1 parent e63b98f commit f5f46ff
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,10 @@ which optimizes the binary for **speed**. To instruct Cargo to optimize for mini
opt-level = "z" # Optimize for size.
```

Note that in some cases the `"s"` level may result in a smaller binary than `"z"`, as explained in
the
[`opt-level` documentation](https://doc.rust-lang.org/cargo/reference/profiles.html#opt-level):

> [!TIP]
> [!NOTE]
> In some cases the `"s"` level may result in a smaller binary than `"z"`, as explained in the
> [`opt-level` documentation](https://doc.rust-lang.org/cargo/reference/profiles.html#opt-level):
>
> It is recommended to experiment with different levels to find the right balance for your project.
> There may be surprising results, such as ... the `"s"` and `"z"` levels not being necessarily
> smaller.
Expand Down

0 comments on commit f5f46ff

Please sign in to comment.