We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94201da commit 4c2e4d9Copy full SHA for 4c2e4d9
source/chapter1/2remove-std.rst
@@ -35,11 +35,11 @@
35
$ rustup target add riscv64gc-unknown-none-elf
36
37
38
-然后在 ``os`` 目录下新建 ``.cargo`` 目录,并在这个目录下创建 ``config`` 文件,并在里面输入如下内容:
+然后在 ``os`` 目录下新建 ``.cargo`` 目录,并在这个目录下创建 ``config.toml``(cargo version <= cargo 1.38 使用config) 文件,并在里面输入如下内容:
39
40
.. code-block:: toml
41
42
- # os/.cargo/config
+ # os/.cargo/config.toml
43
[build]
44
target = "riscv64gc-unknown-none-elf"
45
0 commit comments