hyperlight-dev / hyperlight-dev/hyperlight

The `hyperlight-guest` crate exports more items than it should

Aperta
#446 1 commento 1 reazione 0 assegnatari Vedi su GitHub
area/API lifecycle/confirmed
Lingua principale
Rust
Stelle
4.7k
Fork
208
Merge medio
1g 7h
PR unite (30g)
47

Descrizione

The doc.rs page has a list of all the items exported by `hyperlight-guest`: https://docs.rs/hyperlight-guest/latest/hyperlight_guest/all.html

There are items that look like they should not be exported, to name a few:
* `print::_putchar`
* `gdt::load_gdt`
* `memory::*`

These items are currently part of the public API, meaning that downstream consumers could start relying on them.
IMHO, we should trim down the public API, and only add things as needed.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.