Consider renaming files named `mod.rs/x86_64.rs/aarch64.rs` to more unique filenames
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 52/100
- Issue 类型
- 重构
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- rust
调研方向
首先盘点 mod.rs、x86_64.rs 和 aarch64.rs 文件,包括 src/hyperlight_host/src/hypervisor/hyperlight_vm/x86_64.rs,并将它们与 src/hyperlight_host/src/hypervisor/regs/x86_64/special_regs.rs 进行比较。确定哪些文件可以使用较新的 Rust 模块约定,以及哪些架构文件应移入名称唯一的目录。当约定的重命名已一致地应用且没有破坏项目检查时,即视为完成。
由索引模型根据 Issue 内容生成。
描述
Having multiple files with same name makes it annoying to search and find specific files.
For the x86_64.rs/aarch64.rs files (example src/hyperlight_host/src/hypervisor/hyperlight_vm/x86_64.rs) we could put them in a folder with that name instead (as we already do in certain places for example src/hyperlight_host/src/hypervisor/regs/x86_64/special_regs.rs).
For mod.rs file we can consider moving to the newer rust module convention which uses less mod.rs files.
I'm not saying all existing files must be renamed and are all bad, but I personally would like a bit more uniqueness
- 主要语言
- Rust
- 星标
- 4.7k
- 派生
- 213
- 平均合并
- 1 天 20 小时
- 30 天内合并 PR
- 44
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
hyperlight-dev/hyperlight 的其他 Issue
-
lifecycle/needs-review
难度 2/5 1-3 小时 新手友好度 68/100
hyperlight-dev/hyperlight#1842 ·
-
lifecycle/needs-review
难度 2/5 1-3 小时 新手友好度 72/100
hyperlight-dev/hyperlight#1836 ·
-
lifecycle/needs-review
难度 2/5 1-3 小时 新手友好度 68/100
hyperlight-dev/hyperlight#1804 ·
-
lifecycle/needs-review
难度 2/5 1-3 小时 新手友好度 76/100
hyperlight-dev/hyperlight#1787 ·
-
lifecycle/confirmed
难度 2/5 1-3 小时 新手友好度 65/100
hyperlight-dev/hyperlight#1700 ·
查看 hyperlight-dev/hyperlight 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 88/100
-
bug core
难度 2/5 1-3 小时 新手友好度 86/100
-
JIT-compiled number -> Decimal conversion silently overflows instead of raising DECIMAL_OVERFLOW 未关闭fuzz
难度 2/5 1-3 小时 新手友好度 82/100
ClickHouse/ClickHouse#122114 ·
-
难度 1/5 1 小时以内 新手友好度 92/100
linebender/vello_svg#90 ·
-
难度 2/5 1-3 小时 新手友好度 74/100