Expand necessary builtin macros eagerly
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Start with rust-macro-builtins.cc and review the linked or referenced issues for the unchecked builtins. Determine the handler changes needed for each remaining macro to return a fragment containing its unexpanded macro expansion. The issue is complete when the remaining unchecked macros in the list support eager expansion.
Written by the indexing model from the issue text.
Description
The following list of macros is allowed to expand eagerly as of Rust 1.49. In our current implementation, this will mean tweaking that builtin's handler in rust-macro-builtins.cc in order to return a new fragment containing the unexpanded macro expansion. The list is as follows:
- Implement eager expansion for
concat!() - #1794
- #1795
- #1806
- #1796
- #1797
- #1798
- #1804
- #1805
- #1865
I'll create associated issues for each of these tasks.
- Dominant language
- C++
- Stars
- 2.9k
- Forks
- 231
- Avg merge
- 20h 2m
- Merged PRs (30d)
- 66
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Rust-GCC/gccrs
-
core
Difficulty 5/5 Over a week Newbie friendliness 35/100
-
method not found Opencore
-
expansion good-first-pr
Difficulty 3/5 1-2 days Newbie friendliness 55/100
-
expansion good-first-pr
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
expansion good-first-pr
Difficulty 3/5 1-2 days Newbie friendliness 55/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
Sensor initialization takes very long when `--initial-sim-time` is set to current UNIX timestamp Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
gazebosim/gz-sensors#662 · 1 comment ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
comp-datalake
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/ClickHouse#121222 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
LadybirdBrowser/ladybird#12123 ·