Functions necessary for rustc
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 30/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- rust
调研方向
Start with the unchecked function list and the rustc-for-musl setup described in the issue, separating functions that need definitions from those that need working implementations. Check the linked rustix blocker for fcntl(F_SETLK). Done means the required functions are implemented well enough that rustc no longer crashes, with the function checklist updated.
由索引模型根据 Issue 内容生成。
描述
Here is a bunch of functions that need to be defined when compiling rustc for musl:
- wcsftime (https://github.com/sunfishcode/c-ward/pull/168)
- getwc (https://github.com/sunfishcode/c-ward/pull/168)
- putwc (https://github.com/sunfishcode/c-ward/pull/168)
- wcsxfrm (https://github.com/sunfishcode/c-ward/pull/168)
- wcscoll (https://github.com/sunfishcode/c-ward/pull/168)
- towupper (https://github.com/sunfishcode/c-ward/pull/168)
- towlower (https://github.com/sunfishcode/c-ward/pull/168)
And functions that actually need to be implemented for rustc to not crash:
- wctype (and possibly
iswctype) - btowc
- wctob
- sched_yield
- posix_madvise
- getauxval
- fcntl(F_SETLK) with start/len args (blocked on https://github.com/bytecodealliance/rustix/issues/1574)
I may be missing some as I got a frankenstein combination of musl's dynamic linker (+ part of musl libc) and eyra that I used for testing.
Edit: Moved the posix_spawn family to https://github.com/sunfishcode/c-ward/issues/167 as cargo needs actual implementations.
- 主要语言
- Rust
- 星标
- 341
- 派生
- 20
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
sunfishcode/c-ward 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 25/100
sunfishcode/c-ward#170 ·
-
难度 5/5 一周以上 新手友好度 35/100
sunfishcode/c-ward#167 · 3 个 reaction ·
-
难度 4/5 3-5 天 新手友好度 35/100
sunfishcode/c-ward#157 · 2 条评论 ·
-
难度 5/5 一周以上 新手友好度 25/100
sunfishcode/c-ward#130 · 2 条评论 ·
-
难度 4/5 3-5 天 新手友好度 30/100
sunfishcode/c-ward#98 · 2 条评论 ·
查看 sunfishcode/c-ward 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 90/100
chroma-core/chroma#7879 ·
维护者通常 1 天内回复
-
priority middle
难度 1/5 1 小时以内 新手友好度 72/100
KATO-Hiro/AtCoderClans#12838 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复