Better clarification

This commit is contained in:
Connortsui20
2023-08-17 08:42:54 -04:00
committed by GitHub
parent 1ff26bb4b6
commit 211544af00

View File

@@ -260,10 +260,10 @@ That's where the [`build-std` feature] of cargo comes in. It allows to recompile
[`build-std` feature]: https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#build-std
[nightly Rust compilers]: #installing-rust-nightly
To use the feature, we need to create a local [cargo configuration] file at `blog_os/.cargo/config.toml` with the following content:
To use the feature, we need to create a local [cargo configuration] file at `.cargo/config.toml` (if your cargo project is named `blog_os`, then create the file locally at `blog_os/.cargo/config.toml`) with the following content:
```toml
# in blog_os/.cargo/config.toml
# in .cargo/config.toml
[unstable]
build-std = ["core", "compiler_builtins"]