bazelbuild / bazelbuild/rules_rust

`crate_universe` should use a json file as the lockfile instead of a rendered build file

未關閉
#653 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
crate-universe enhancement needs-triage
主要語言
Starlark
星號
843
分支
651
平均合併
2 天 18 小時
30 天內合併 PR
15

描述

`crate_universe` currently renders all build files into one and writes that back to the user's workspace. I feel this is unmaintainable and is actually quite limiting in being able to write new features for the rule. This should be done sooner so the tests don't continue to be built off of hard to read assertions.

貢獻指南

開啟貢獻指南

研究方向

先閱讀用於轉譯建置檔案的 crate_universe 程式碼,以及依賴難以閱讀的 assertion 的測試。確定目前轉譯的建置檔案如何寫入 workspace,然後定義 JSON lockfile 所需的內容,並更新相關測試以驗證新的 workflow。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
rust
領域
build-system
Issue 類型
重構
難度
5/5
預估耗時
一週以上
活躍度
停滯
描述清晰度
需要釐清
新手友好度
25/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。