Single argument `assert!` message
维护者通常 3 天内回复
还没有人认领这个 Issue。
评估
调研方向
首先定位 gccrs 对 Rust assert!、stringify! 和 panic! 宏的处理位置,因为没有指定文件或测试。跟踪单参数展开,如果找到相关测试区域则添加覆盖;完成的标准是将参数字符串化并作为 panic 消息传递,而不是生成不带参数的 panic! 调用。
由索引模型根据 Issue 内容生成。
描述
When called with a single argument, assert! is supposed to apply stringify! to that argument and use it as a panic message. Currently, it outputs an invocation of panic! with no arguments in this case. No example code is included here, as we don't currently support panicking (?) and therefore this bug would be impossible to trigger without exploiting other bugs (?).
- 主要语言
- C++
- 星标
- 3k
- 派生
- 238
- 平均合并
- 4 天 17 小时
- 30 天内合并 PR
- 30
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Rust-GCC/gccrs 的其他 Issue
-
Allow pattern matching of floating point literals可能已有人在做 @Vivekkumar0995 于 4 天前认领。 未关闭cleanup good-first-pr typechecking
难度 2/5 1-3 小时 新手友好度 62/100
Rust-GCC/gccrs#5047 · 2 条评论 · 已指派 1 人 ·
维护者通常 3 天内回复
-
type checker runs out of memory on core可能已有人在做 @u7k4rs6 于 1 天前认领。 未关闭
难度 4/5 3-5 天 新手友好度 20/100
维护者通常 3 天内回复
-
难度 3/5 1-2 天 新手友好度 46/100
维护者通常 3 天内回复
-
asm! numbers operands in rust order, gcc wants outputs first可能已有人在做 @u7k4rs6 于 2 天前认领。 未关闭
难度 3/5 1-2 天 新手友好度 35/100
维护者通常 3 天内回复
-
bug
难度 4/5 3-5 天 新手友好度 25/100
维护者通常 3 天内回复
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 74/100
arvidn/libtorrent#9126 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
Sunrisepeak/mcpp-language-server#80 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 66/100
xiaoyifang/goldendict-ng#3148 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 91/100
triton-inference-server/server#9069 ·
维护者通常 1 天内回复