Disable private imports by default
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 新手友好度
- 66/100
- Issue 類型
- 功能
- 描述清晰度
- 描述清楚
- 活躍度
- 活躍
- 技術堆疊
- swift
- 領域
- build-system, testing
研究方向
Start by locating the package settings that define ENABLE_PRIVATE_IMPORTS, the macOS, Ubuntu, and iOS unit-test jobs, and the test entry points and contributor instructions. Check how those settings reach the tested libraries and their tests. Done means private imports are off by default, explicit opt-in enables both required settings consistently, and the test instructions explain when to use it.
由索引模型根據 Issue 內容生成。
描述
Summary
Disable private imports for normal builds so the compiler can optimize private storage access. Enable them explicitly when tests need private declarations.
Scope
- Default
ENABLE_PRIVATE_IMPORTSto false. - Enable private imports in the macOS, Ubuntu, and iOS unit-test jobs.
- Document how to run tests that require private imports.
Acceptance criteria
- Default package settings omit the private-import compiler flag and conditional definition.
- An explicit opt-in enables both settings for the tested libraries and their tests.
- Test entry points and contributor instructions use consistent settings.
- 主要語言
- Swift
- 星號
- 2.5k
- 分支
- 84
- 平均合併
- 5 小時 45 分鐘
- 30 天內合併 PR
- 70
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
OpenSwiftUIProject/OpenSwiftUI 的其他 Issue
-
Implement Picker未關閉area: data-flow area: view type: feature
難度 4/5 3-5 天 新手友好度 30/100
OpenSwiftUIProject/OpenSwiftUI#1225 ·
維護者通常 1 天內回覆
-
area: graphics area: rendering type: feature
難度 5/5 一週以上 新手友好度 18/100
OpenSwiftUIProject/OpenSwiftUI#1223 · 3 個 reaction ·
維護者通常 1 天內回覆
-
area: graphics area: rendering type: feature
難度 4/5 3-5 天 新手友好度 30/100
OpenSwiftUIProject/OpenSwiftUI#1222 ·
維護者通常 1 天內回覆
-
area: rendering type: feature
難度 5/5 一週以上 新手友好度 35/100
OpenSwiftUIProject/OpenSwiftUI#1214 · 1 個 reaction ·
維護者通常 1 天內回覆
-
area: graphics platform: visionOS priority: p2 type: feature
難度 4/5 3-5 天 新手友好度 55/100
OpenSwiftUIProject/OpenSwiftUI#1178 ·
維護者通常 1 天內回覆
查看 OpenSwiftUIProject/OpenSwiftUI 的全部 Issue
相似的 Issue
-
🎉 Add Wound未關閉
難度 1/5 1 小時以內 新手友好度 77/100
jaywcjlove/awesome-mac#4357 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 86/100
-
bug
難度 2/5 1-3 小時 新手友好度 72/100
VictorKildahl/cra#243 · 1 則留言 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 83/100
OneBusAway/vehicle-positions#260 ·
維護者通常 1 天內回覆
-
難度 1/5 1 小時以內 新手友好度 85/100
eliasstravik/herdr-projects#789 · 1 則留言 ·