-
Notifications
You must be signed in to change notification settings - Fork 589
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: replace ctor by linkme #14814
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. While it may not be as flexible as ctor
, it aligns perfectly with our use case. 🤩
Wow, compilation failed. 😕 |
Looks like we encountered this problem dtolnay/linkme#49. |
Signed-off-by: Runji Wang <wangrunji0408@163.com>
Signed-off-by: Runji Wang <wangrunji0408@163.com>
43b0b3e
to
d45a024
Compare
Signed-off-by: Runji Wang <wangrunji0408@163.com>
d45a024
to
acfe11d
Compare
Signed-off-by: Runji Wang <wangrunji0408@163.com>
Fixed by enabling "used_linker" feature of linkme. |
I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
This PR replaces ctor by linkme, which simplifies the code and initialization process.
Checklist
./risedev check
(or alias,./risedev c
)Documentation