Created
November 24, 2019 05:52
-
-
Save shamiao/cc804c0d2afc2d88c79eb72913dc4e9c to your computer and use it in GitHub Desktop.
Y9000X编译测试步骤备忘
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
测试环境 | |
---------- | |
所有测试均在 Windows 10 1903 版本上进行。测试中关闭 Windows Defender 的所有防护。 | |
软件环境采用 Rust 1.39.0 stable 版本,系统安装 Visual Studio 2019 生成工具(C++ 生成工具)。 | |
对于MacBook也追加测试在macOS Mojave下的表现。 | |
一般的 cargo 项目 | |
---------- | |
``` | |
cargo fetch | |
cargo clean --release --offline | |
cargo build --release --offline | |
``` | |
以 cargo 报告的时间为准。 | |
Rust 编译器自举 | |
---------- | |
``` | |
python x.py check | |
python x.py build | |
``` | |
以整个编译流程最终报告的时间为准。 | |
需要重新编译时,删除整个 `build` 目录。(本来应当`python x.py clean --all`的,但在Windows下有bug所以不行) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment