1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-06 12:46:02 +02:00
tldr/pages.fr/common/cargo-build.md
trouyer bd987b07ba
cargo-add, cargo-bench, cargo-build, cargo-init: add French translation (#14129)
* Add some french translation for cargo

* lint

* revert package-lock

* Update pages.fr/common/cargo-add.md

Co-authored-by: Alexandre ZANNI <16578570+noraj@users.noreply.github.com>

* Update pages.fr/common/cargo-add.md

Co-authored-by: Alexandre ZANNI <16578570+noraj@users.noreply.github.com>

* Update pages.fr/common/cargo-bench.md

Co-authored-by: Alexandre ZANNI <16578570+noraj@users.noreply.github.com>

* Update pages.fr/common/cargo-bench.md

Co-authored-by: Alexandre ZANNI <16578570+noraj@users.noreply.github.com>

* Update pages.fr/common/cargo-bench.md

Co-authored-by: Alexandre ZANNI <16578570+noraj@users.noreply.github.com>

* Update pages.fr/common/cargo-bench.md

Co-authored-by: Alexandre ZANNI <16578570+noraj@users.noreply.github.com>

* Update pages.fr/common/cargo-bench.md

Co-authored-by: Alexandre ZANNI <16578570+noraj@users.noreply.github.com>

* Update pages.fr/common/cargo-init.md

Co-authored-by: Alexandre ZANNI <16578570+noraj@users.noreply.github.com>

* Update pages.fr/common/cargo-init.md

Co-authored-by: Alexandre ZANNI <16578570+noraj@users.noreply.github.com>

* Update pages.fr/common/cargo-init.md

Co-authored-by: Alexandre ZANNI <16578570+noraj@users.noreply.github.com>

* Update pages.fr/common/cargo-init.md

Co-authored-by: Alexandre ZANNI <16578570+noraj@users.noreply.github.com>

* Update pages.fr/common/cargo-init.md

Co-authored-by: Alexandre ZANNI <16578570+noraj@users.noreply.github.com>

* Update pages.fr/common/cargo-bench.md

Co-authored-by: Alexandre ZANNI <16578570+noraj@users.noreply.github.com>

* Update pages.fr/common/cargo-build.md

Co-authored-by: Alexandre ZANNI <16578570+noraj@users.noreply.github.com>

* fix typo

---------

Co-authored-by: Alexandre ZANNI <16578570+noraj@users.noreply.github.com>
2024-10-13 17:59:58 +02:00

765 B

cargo build

Compile un paquet local et toutes ses dépendances. Plus d'informations : https://doc.rust-lang.org/cargo/commands/cargo-build.html.

  • Compile un ou plusieurs paquets définis dans le manifeste Cargo.toml dans le dossier local :

cargo build

  • Compile les artefacts avec le mode publication, avec des optimisations :

cargo build --release

  • Le fichier Cargo.lock doit être à jour :

cargo build --locked

  • Compile tous les paquets de l'espace de travail :

cargo build --workspace

  • Compile un paquet spécifique :

cargo build --package {{paquet}}

  • Compile uniquement le binaire spécifié :

cargo build --bin {{nom_du_binaire}}

  • Compile uniquement le test cible spécifié :

cargo build --test {{nom_du_test}}