Skip to content

The hyperlight-guest crate exports more items than it should #446

Open
@jprendes

Description

@jprendes

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/APIRelated to the API or public interfacelifecycle/confirmedBug is verified or proposal seems reasonable

    Type

    No type

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions