hyperlight-dev / hyperlight-dev/hyperlight

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

未关闭
#446 1 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
area/API lifecycle/confirmed
主要语言
Rust
星标
4.7k
派生
208
平均合并
1 天 7 小时
30 天内合并 PR
47

描述

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.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。