Set default rustup profile

This commit is contained in:
Philipp Oppermann
2023-04-30 17:16:11 +02:00
parent 9baab55788
commit 68d0c946f4

View File

@@ -487,6 +487,7 @@ To use nightly Rust for our project, we create a new [`rust-toolchain.toml`] fil
```toml ,hl_lines=1-3 ```toml ,hl_lines=1-3
[toolchain] [toolchain]
channel = "nightly" channel = "nightly"
profile = "default"
targets = ["x86_64-unknown-none"] targets = ["x86_64-unknown-none"]
``` ```
@@ -601,6 +602,7 @@ To install them, we update our `rust-toolchain.toml` file:
[toolchain] [toolchain]
channel = "nightly" channel = "nightly"
profile = "default"
targets = ["x86_64-unknown-none"] targets = ["x86_64-unknown-none"]
components = ["rust-src", "llvm-tools-preview"] components = ["rust-src", "llvm-tools-preview"]
``` ```