fix: Typo in example command

Co-authored-by: kennytm <kennytm@gmail.com>
This commit is contained in:
Ed Page 2024-05-15 12:19:22 -05:00 committed by GitHub
parent ed8ebc954f
commit 87ffdecb5c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -1088,7 +1088,7 @@ This is generally viewed as a script-author decision, rather than a user decisio
In the short term, users can configure `[profile.dev]` to match `[profile.release]`, see [Cargo's Profiles chapter](https://doc.rust-lang.org/cargo/reference/profiles.html#default-profiles).
Potential options for addressing this include
- Add `cargo --release <script>` or `cargo --profile=name> <script>`
- Add `cargo --release <script>` or `cargo --profile=<name> <script>`
- This would only work on systems that support `env -S` which might be fine as this is a more specialized case already
- This doesn't scale too well for other customization
- Add a "default profile" of some kind to the manifest format