Skip to content

Commit

Permalink
Data update 2023-09-17 06-12-22
Browse files Browse the repository at this point in the history
  • Loading branch information
1010bots committed Sep 17, 2023
1 parent 9444293 commit e8f51d4
Show file tree
Hide file tree
Showing 6 changed files with 106 additions and 1 deletion.
22 changes: 22 additions & 0 deletions docs/en/common/rustup-help.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
layout: page
title: common/rustup-help (English)
description: "Display help on `rustup` and its subcommands."
content_hash: 62296cfa6df1a05f6336041324360f42cf80ab0b
last_modified_at: 2023-09-17
---

This entry is very new in the [tldr-pages](https://github.com/tldr-pages/tldr) project, hence translation data is currently unavailable for a while.

<hr># rustup help

Display help on `rustup` and its subcommands.
More information: <https://rust-lang.github.io/rustup>.

- Display general help:

`rustup help`

- Display help for a subcommand:

`rustup help `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">subcommand</span>
19 changes: 19 additions & 0 deletions docs/en/common/rustup-install.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
layout: page
title: common/rustup-install (English)
description: "Install or update Rust toolchains."
content_hash: 40321842cdbc91ef5309626166384a30162577b4
last_modified_at: 2023-09-17
---

This entry is very new in the [tldr-pages](https://github.com/tldr-pages/tldr) project, hence translation data is currently unavailable for a while.

<hr># rustup install

Install or update Rust toolchains.
This command is an alias of `rustup update`, but can only install/update one toolchain at a time.
More information: <https://rust-lang.github.io/rustup>.

- Install or update a specific toolchain (see `rustup help toolchain` for more information):

`rustup install `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">toolchain</span>
22 changes: 22 additions & 0 deletions docs/en/common/rustup-man.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
layout: page
title: common/rustup-man (English)
description: "View the man page for a given command managed by `rustup`."
content_hash: 32ef233358ca16edaf80d970c8fc488ffa2ffc3d
last_modified_at: 2023-09-17
---

This entry is very new in the [tldr-pages](https://github.com/tldr-pages/tldr) project, hence translation data is currently unavailable for a while.

<hr># rustup man

View the man page for a given command managed by `rustup`.
More information: <https://rust-lang.github.io/rustup>.

- View the man page for a given command from the default toolchain:

`rustup man `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">command</span>

- View the man page for a given command from the specified toolchain:

`rustup man --toolchain `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">command</span>
19 changes: 19 additions & 0 deletions docs/en/common/rustup-run.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
layout: page
title: common/rustup-run (English)
description: "Run a command with an environment configured for a given Rust toolchain."
content_hash: 471eaf7b6bebb72c8fbb154d5627cc9060a1d31a
last_modified_at: 2023-09-17
---

This entry is very new in the [tldr-pages](https://github.com/tldr-pages/tldr) project, hence translation data is currently unavailable for a while.

<hr># rustup run

Run a command with an environment configured for a given Rust toolchain.
Note: all commands managed by `rustup` have a shorthand for this: for example, `cargo +nightly build` is equivalent to `rustup run nightly cargo build`.
More information: <https://rust-lang.github.io/rustup>.

- Run a command using a given Rust toolchain (see `rustup help toolchain` for more information):

`rustup run `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">toolchain</span>` `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">command</span>
23 changes: 23 additions & 0 deletions docs/en/common/rustup-which.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
layout: page
title: common/rustup-which (English)
description: "Display which binary will be run for a given command managed by `rustup`."
content_hash: 14371dc6987db2d0635274a65addcbf54abb5f58
last_modified_at: 2023-09-17
---

This entry is very new in the [tldr-pages](https://github.com/tldr-pages/tldr) project, hence translation data is currently unavailable for a while.

<hr># rustup which

Display which binary will be run for a given command managed by `rustup`.
Like `which`, but searches a Rust toolchain instead of `$PATH`.
More information: <https://rust-lang.github.io/rustup>.

- Display the path to the binary in the default toolchain:

`rustup which `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">command</span>

- Display the path to the binary in the specified toolchain (see `rustup help toolchain` for more information):

`rustup which --toolchain `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">toolchain</span>` `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">command</span>

0 comments on commit e8f51d4

Please sign in to comment.