hyperlight-dev / hyperlight-dev/hyperlight

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

Đang mở
#446 1 bình luận 1 reaction 0 người được giao Xem trên GitHub
area/API lifecycle/confirmed
Ngôn ngữ chính
Rust
Star
4.7k
Fork
208
Merge trung bình
1 ngày 7 giờ
Pull request đã merge (30 ngày)
47

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.