hyperlight-dev / hyperlight-dev/hyperlight

Consider renaming files named `mod.rs/x86_64.rs/aarch64.rs` to more unique filenames

Aperta
#1,762 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
lifecycle/needs-review
Lingua principale
Rust
Stelle
4.7k
Fork
208
Merge medio
1g 7h
PR unite (30g)
47

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
rust
Ambito
developer-experience, operating-systems
Tipo di issue
Refactoring
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Attiva
Chiarezza
Abbastanza chiara
Idoneità per principianti
52/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.