yfblock
yfblock
确保文件夹里存在npc文件 并且 已经加了执行权限 使用ls -l看看
https://github.com/yfblock/OS-Tranining-Camp
我采取了不一样的处理方法,将字符串长度进行了单独处理,因此我觉得目前的测试案例已经比较完善,Empty的处理优先级应该是最高。因此在最开始进行处理会更好? ```rust fn from_str(s: &str) -> Result { if s.len() == 0 { return Err(ParseClimateError::Empty); } let v: Vec = s.split(',').collect(); let (city, year, temp) = match &v[..] { ["",...
请采用新版的 `rustlings` [https://github.com/os2edu/rustlings](https://github.com/os2edu/rustlings) 领作业地址 [https://classroom.github.com/a/U37u3veU](https://classroom.github.com/a/U37u3veU).
log有不依赖std的 默认情况下不需要std 请检查下你的toml文件中是有添加了 log features=["std"] 如果有 请取消 ---Original--- From: ***@***.***> Date: 2022/2/22 21:15:40 To: ***@***.***>; Cc: ***@***.***>; Subject: Re: [rcore-os/rCore-Tutorial-Book-v3]rCore-Tutorial-Book-v3/chapter1/7exercise (Issue #110) 这个练习能够使用crate log吗?为什么我用的时候报错log需要std库 — Reply to this email directly,...
页表项的`U`位的描述不太完善, 在`Risc-v`的特权级文档中`U`位还有其他的补充描述,当`sstatus`寄存器中的`SUM`位置1,`S` 特权级可以访问`U`位为`1`的页,但是`S`特权级的程序常运行在`SUM`位清空的条件下,如果`S`特权级直接访问会出现`page fault`. 我就是遇到这个问题卡了两天。