hyperlight-dev / hyperlight-dev/hyperlight
Consider renaming files named `mod.rs/x86_64.rs/aarch64.rs` to more unique filenames
- 主要言語
- Rust
- スター
- 4.7k
- フォーク
- 208
- 平均マージ
- 1日 7時間
- マージ済み PR(30日)
- 47
説明
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
コントリビューションガイド
調査の方向性
Start by inventorying the `mod.rs`, `x86_64.rs`, and `aarch64.rs` files, including `src/hyperlight_host/src/hypervisor/hyperlight_vm/x86_64.rs`, and compare them with `src/hyperlight_host/src/hypervisor/regs/x86_64/special_regs.rs`. Determine which files can use the newer Rust module convention and which architecture files should move into uniquely named directories. Done means the agreed renames are applied consistently without breaking the project checks.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- rust
- 領域
- developer-experience, operating-systems
- issue の種類
- リファクタリング
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 活発
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 52/100