We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://learningos.github.io/rCore-Tutorial-Book-2021Autumn/0setup-devel-env.html
The text was updated successfully, but these errors were encountered:
Updated @ 220123 22:52 问题 执行make run时遇到cannot find macro asm in this scope的报错 解决 参考 Issue 在无法识别的源文件首部加上:
make run
use core::arch::asm; use core::arch::global_asm;
其中需要添加的文件如下:
./os/src ├── main.rs ├── mm │ └── memory_set.rs ├── sbi.rs ├── task │ └── switch.rs └── trap └── mod.rs ./user/src └── syscall.rs
备注 可能需要切换至nightly 目前已测试rustc 1.60.0-nightly (bfe156467 2022-01-22)可用
nightly
rustc 1.60.0-nightly (bfe156467 2022-01-22)
Sorry, something went wrong.
@harrychong2118 这个是 rust 在 nightly 进入 1.59.0 后稳定了 asm 特性带来的改变,在本实验框架设计时还未有此变化。之后这应该会正式进入 stable。
No branches or pull requests
第零章:实验环境配置 - rCore-Tutorial-Autumn2021 文档
https://learningos.github.io/rCore-Tutorial-Book-2021Autumn/0setup-devel-env.html
The text was updated successfully, but these errors were encountered: