mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37:49 +00:00
Set default rustup profile
This commit is contained in:
@@ -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"]
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user