Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ tracing = "0.1"
tracing-log = "0.2"
tracing-opentelemetry = { version = "0.33", optional = true }
tracing-subscriber = { version = "0.3.23", features = ["env-filter"] }
unicode-security = "0.1"
url = "2.4"
wait-timeout = "0.2"
xz2 = "0.1.3"
Expand Down
8 changes: 8 additions & 0 deletions doc/user-guide/src/concepts/toolchains.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,14 @@ local builds of the Rust toolchain. To teach `rustup` about your build, run:
$ rustup toolchain link my-toolchain path/to/my/toolchain/sysroot
```

Custom toolchain names may contain any character that [UTS #39] allows in an
identifier, except for `:` and `'`. In practice that means letters and digits
in any script, along with `.`, `_`, and `-`; whitespace, most punctuation,
emoji, and invisible or direction-altering characters are rejected. The names
`.` and `..` are not accepted either.

[UTS #39]: https://www.unicode.org/reports/tr39/#Identifier_Status_and_Type

For example, on Ubuntu you might clone `rust-lang/rust` into `~/rust`, build
it, and then run:

Expand Down
Loading
Loading