Architecture Overhauls
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 12/100
- Issue 类型
- 重构
- 描述清晰度
- 需要澄清
- 活跃度
- 活跃
- 技术栈
- rust
- 领域
- build-system
调研方向
This issue lists broad architecture goals rather than a bounded change, and names no files or tests to start from. First read the existing architecture documentation and inspect the build graph, cache, and compiler backend entry points; choose one item only after its scope is defined. Done cannot be assessed until a specific goal and acceptance criteria are agreed.
由索引模型根据 Issue 内容生成。
描述
This is a list of things I want to overhaul about rustd's architecture.
- Instead of worker per workspace, aggregate all workspaces into a single build graph and optimize that. That way we can get cross-workspace sharing.
- Shared build graph for test/clippy - this is a work in progress - would allow us to do clippy/test without paying a full recompile of the tip crates
- Pick one of cranelift / llvm / llvm-tpde instead of supporting both. llvm o2 fast emit is close to cranelift. simpler to support
- More disk caches for the analysis frontend. stress test disk caches all around
- Ideally compile the entire tree with rustd and/or hybrid approach - if there's rustc artifacts we can reuse, reuse them and then rewire them with rustd.
General things we should have
- fuzzing
- replicated / normalized perf vs rustc directly
- support for all rust point versions (1.98, 1.97, 1.96, etc) and nightlies? preventative rust maintenance
- broader target support - funny arm variants, wasm variants, etc
General things todo:
- human post processing of docs/language/code
- proper release pipeline
- proper downloads/artifacts page
- proper docs
- proper crater run infrastructure
- blog post / how it works
Existing architecture bits
- supports query overlays for fast worktree edits - however is a bit nerfed until the aggregate all workspaces thing is in
- supports s3 / disk caches - ideal for CI - goal is incremental CI
- supports splicing and hotpatching - two really fast linker shortcuts
- 主要语言
- Rust
- 星标
- 248
- 派生
- 13
- 平均合并
- 7 小时 52 分钟
- 30 天内合并 PR
- 5
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
DioxusLabs/rustd 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 78/100
DioxusLabs/rustd#15 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 48/100
DioxusLabs/rustd#28 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 35/100
DioxusLabs/rustd#27 ·
维护者通常 1 天内回复
-
Workspace fails to load: rquickjs types give layout of …: HasErrorType, and rustd never falls back未关闭
难度 4/5 3-5 天 新手友好度 25/100
DioxusLabs/rustd#26 ·
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 65/100
DioxusLabs/rustd#25 ·
维护者通常 1 天内回复
相似的 Issue
-
needs triage
难度 2/5 1-3 小时 新手友好度 82/100
pbakaus/impeccable#1601 ·
维护者通常 1 天内回复
-
RDF/XML writer: a blank node in two lists is left out of the second可能已有人在做 @mrnolte 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 76/100
phillord/horned-owl#368 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
mongodb/kingfisher#588 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
bug rust
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 2 天内回复