Skip to content

Commit 4c2e4d9

Browse files
committed
Update ch1 2remove-std.rst
1 parent 94201da commit 4c2e4d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/chapter1/2remove-std.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@
3535
$ rustup target add riscv64gc-unknown-none-elf
3636
3737
38-
然后在 ``os`` 目录下新建 ``.cargo`` 目录,并在这个目录下创建 ``config`` 文件,并在里面输入如下内容:
38+
然后在 ``os`` 目录下新建 ``.cargo`` 目录,并在这个目录下创建 ``config.toml``(cargo version <= cargo 1.38 使用config) 文件,并在里面输入如下内容:
3939
4040
.. code-block:: toml
4141
42-
# os/.cargo/config
42+
# os/.cargo/config.toml
4343
[build]
4444
target = "riscv64gc-unknown-none-elf"
4545

0 commit comments

Comments
 (0)