Open Qiu-Weidong opened 1 year ago
https://qiu-weidong.github.io/2022/08/05/rustc-development/how-to-build-and-run-the-compiler/
由于构建需要用到x.py工具,因此请确保你的计算机上已经安装有python。 有关如何安装Python和其他先决条件的说明,请参阅下一页。 获取源代码 源代码放在仓库rust-lang/rustc中。包含编译器、标准库(core、alloc、test、proc_macro等)以及一堆工具(比如rustdoc、自举设施等等)。 第一步自然就是克隆rustc仓库: 12git clone https:
https://qiu-weidong.github.io/2022/08/05/rustc-development/how-to-build-and-run-the-compiler/
由于构建需要用到x.py工具,因此请确保你的计算机上已经安装有python。 有关如何安装Python和其他先决条件的说明,请参阅下一页。 获取源代码 源代码放在仓库rust-lang/rustc中。包含编译器、标准库(core、alloc、test、proc_macro等)以及一堆工具(比如rustdoc、自举设施等等)。 第一步自然就是克隆rustc仓库: 12git clone https: