hyperlight-dev / hyperlight-dev/hyperlight

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

Offen
#446 1 Kommentar 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
area/API lifecycle/confirmed
Vorherrschende Sprache
Rust
Sterne
4.7k
Forks
208
Ø Merge
1 T. 7 Std.
Gemergte PRs (30 T.)
47

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.