Remove the print_debug and build-metadata host cargo features
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 49/100
Hướng nghiên cứu
Start by locating the hyperlight-host Cargo feature definitions and their uses, including the debug! macro and the two Hyperlight call sites mentioned in the issue. Review the host build script and build metadata logging to trace the built and git2 dependency. Done means both features and the macro are removed, with no remaining references and applications able to provide their own build detail logging.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Two hyperlight-host cargo features add cost without adding value.
print_debugmakes the exporteddebug!macro print to stdout in debug builds, in addition totracing::debug!. Its cfg is evaluated in the caller's crate, so the print never works for external users. Hyperlight itself uses the macro in two places, wheretracing::debug!gives the same output.build-metadatais on by default. It usesbuiltwithgit2to log build details on the first sandbox creation. Its git fields are empty for crates.io users.git2compiles libgit2 from C in every default build, on the critical path to the host build script.
Proposal: remove both features and the debug! macro. Applications that want build details can log them with their own tooling.
- Ngôn ngữ chính
- Rust
- Star
- 4.8k
- Fork
- 222
- Merge trung bình
- 1 ngày 16 giờ
- Pull request đã merge (30 ngày)
- 60
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của hyperlight-dev/hyperlight
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
hyperlight-dev/hyperlight#2089 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
S-needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
hyperlight-dev/hyperlight#2073 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
C-bug S-needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
hyperlight-dev/hyperlight#2056 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
A-docs C-bug S-needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
hyperlight-dev/hyperlight#2027 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
S-needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
hyperlight-dev/hyperlight#1970 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của hyperlight-dev/hyperlight
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 86/100
-
tests
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
vfarcic/dot-agent-deck#2512 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
pop-os/cosmic-applets#1641 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
pop-os/cosmic-store#650 ·