From 211544af000d8c2f2dfa3ac4da5a120c7045fd44 Mon Sep 17 00:00:00 2001 From: Connortsui20 <87130162+Connortsui20@users.noreply.github.com> Date: Thu, 17 Aug 2023 08:42:54 -0400 Subject: [PATCH] Better clarification --- blog/content/edition-2/posts/02-minimal-rust-kernel/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blog/content/edition-2/posts/02-minimal-rust-kernel/index.md b/blog/content/edition-2/posts/02-minimal-rust-kernel/index.md index d70287c2..08e9252f 100644 --- a/blog/content/edition-2/posts/02-minimal-rust-kernel/index.md +++ b/blog/content/edition-2/posts/02-minimal-rust-kernel/index.md @@ -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"]