mirror of
https://github.com/LearningOS/rust-based-os-comp2022.git
synced 2026-02-08 21:03:39 +08:00
fix typo
This commit is contained in:
@@ -88,7 +88,7 @@ cargo 为我们准备好了 ``Hello world!`` 源代码:
|
||||
其中 host 一项表明默认目标平台是 ``x86_64-unknown-linux-gnu``,
|
||||
CPU 架构是 x86_64,CPU 厂商是 unknown,操作系统是 linux,运行时库是 gnu libc。
|
||||
|
||||
接下来,我们希望把 ``Hello, world!`` 移植到 RICV 目标平台 ``riscv64gc-unknown-none-elf`` 上运行。
|
||||
接下来,我们希望把 ``Hello, world!`` 移植到 RISC-V 目标平台 ``riscv64gc-unknown-none-elf`` 上运行。
|
||||
|
||||
.. note::
|
||||
|
||||
@@ -117,4 +117,4 @@ CPU 架构是 x86_64,CPU 厂商是 unknown,操作系统是 linux,运行时
|
||||
它包含了 Rust 语言相当一部分核心机制,可以满足本门课程的需求。
|
||||
有很多第三方库也不依赖标准库 std,而仅仅依赖核心库 core。
|
||||
|
||||
为了以裸机平台为目标编译程序,我们要将对标准库 std 的引用换成核心库 core。
|
||||
为了以裸机平台为目标编译程序,我们要将对标准库 std 的引用换成核心库 core。
|
||||
|
||||
Reference in New Issue
Block a user