mirror of
https://github.com/LearningOS/rust-based-os-comp2022.git
synced 2026-02-10 05:34:56 +08:00
Merge pull request #48 from eastfisher/docs-install-binutils
docs: add install cargo-binutils in chapter1/2remove-std.html
This commit is contained in:
@@ -118,6 +118,12 @@ println! 宏是由标准库 std 提供的,且会使用到一个名为 write
|
||||
分析被移除标准库的程序
|
||||
-----------------------------
|
||||
|
||||
首先安装 cargo-binutils 工具集:
|
||||
|
||||
.. code-block:: console
|
||||
$ cargo install cargo-binutils
|
||||
$ rustup component add llvm-tools-preview
|
||||
|
||||
我们可以通过一些工具来分析目前的程序:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
Reference in New Issue
Block a user