cargo: swap example (#22424)

Co-authored-by: Lena Pastwa <lena@lnps.me>
This commit is contained in:
Managor
2026-05-13 14:35:35 +03:00
committed by GitHub
parent 9bc6551dcc
commit 2b81ed6177
+4 -4
View File
@@ -28,10 +28,10 @@
`cargo {{[b|build]}} {{[-r|--release]}}`
- Run the built binary (will build it if it's not already built):
`cargo {{[r|run]}}`
- Build the Rust project in the current directory using the nightly compiler (requires `rustup`):
`cargo +nightly {{[b|build]}}`
- Build using a specific number of threads (default is the number of logical CPUs):
`cargo {{[b|build]}} {{[-j|--jobs]}} {{number_of_threads}}`