Skip to content

Commit

Permalink
Add documentation for cargo install --ignore-rust-version
Browse files Browse the repository at this point in the history
  • Loading branch information
chaitanyav committed Mar 16, 2023
1 parent ae1c3c2 commit 4bcc36a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/doc/man/cargo-install.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,8 @@ See also the `--profile` option for choosing a specific profile by name.

{{> options-profile }}

{{> options-ignore-rust-version }}

{{> options-timings }}

{{/options}}
Expand Down
5 changes: 5 additions & 0 deletions src/doc/man/generated_txt/cargo-install.txt
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,11 @@ OPTIONS
<https://doc.rust-lang.org/cargo/reference/profiles.html> for more
details on profiles.

--ignore-rust-version
Install the target even if the selected Rust compiler is older than
the required Rust version as configured in the project’s
rust-version field.

--timings=fmts
Output information how long each compilation takes, and track
concurrency information over time. Accepts an optional
Expand Down
6 changes: 6 additions & 0 deletions src/doc/src/commands/cargo-install.md
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,12 @@ See the <a href="../reference/profiles.html">the reference</a> for more details



<dt class="option-term" id="option-cargo-install---ignore-rust-version"><a class="option-anchor" href="#option-cargo-install---ignore-rust-version"></a><code>--ignore-rust-version</code></dt>
<dd class="option-desc">Install the target even if the selected Rust compiler is older than the
required Rust version as configured in the project’s <code>rust-version</code> field.</dd>



<dt class="option-term" id="option-cargo-install---timings=fmts"><a class="option-anchor" href="#option-cargo-install---timings=fmts"></a><code>--timings=</code><em>fmts</em></dt>
<dd class="option-desc">Output information how long each compilation takes, and track concurrency
information over time. Accepts an optional comma-separated list of output
Expand Down

0 comments on commit 4bcc36a

Please sign in to comment.