Remove the print_debug and build-metadata host cargo features
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Rust
- スター
- 4.8k
- フォーク
- 222
- 平均マージ
- 1日 16時間
- マージ済み PR(30日)
- 60
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
hyperlight-dev/hyperlight のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
hyperlight-dev/hyperlight#2089 ·
メンテナーはふだん 1 日以内に返信
-
S-needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
hyperlight-dev/hyperlight#2073 ·
メンテナーはふだん 1 日以内に返信
-
C-bug S-needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
hyperlight-dev/hyperlight#2056 ·
メンテナーはふだん 1 日以内に返信
-
A-docs C-bug S-needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
hyperlight-dev/hyperlight#2027 ·
メンテナーはふだん 1 日以内に返信
-
S-needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
hyperlight-dev/hyperlight#1970 ·
メンテナーはふだん 1 日以内に返信
hyperlight-dev/hyperlight の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 86/100
-
tests
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
vfarcic/dot-agent-deck#2512 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
pop-os/cosmic-applets#1641 ·
メンテナーはふだん 3 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
pop-os/cosmic-store#650 ·