mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-22 14:02:44 +00:00
Update cheatsheets
This commit is contained in:
@@ -15,11 +15,11 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Build artifacts in release mode, with optimizations:
|
||||
|
||||
`cargo rustc --release`
|
||||
`cargo rustc {{[-r|--release]}}`
|
||||
|
||||
- Compile with architecture-specific optimizations for the current CPU:
|
||||
|
||||
`cargo rustc --release -- -C target-cpu=native`
|
||||
`cargo rustc {{[-r|--release]}} -- -C target-cpu=native`
|
||||
|
||||
- Compile with speed optimizations:
|
||||
|
||||
@@ -35,7 +35,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Build a specific package:
|
||||
|
||||
`cargo rustc --package {{package}}`
|
||||
`cargo rustc {{[-p|--package]}} {{package}}`
|
||||
|
||||
- Build only the specified binary:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user