Skip to content
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

update the prost generated file and remove malloc_free #188

Merged
merged 2 commits into from
Jan 19, 2023

Conversation

YangKeao
Copy link
Member

@YangKeao YangKeao commented Dec 15, 2022

Signed-off-by: YangKeao yangkeao@chunibyo.icu

It seems that even when the minor version of prost-build doesn't change, it will also generate different files 🤔 . Maybe we'll need to lock the patch version of prost-build? (I don't know whether it will break users' choices).


For removing malloc free test:

I record an issue #189. I haven't thought about some good ways to solve this problem, so I removed them temporarily.

I have to merge these two PRs into one, or I cannot get any one of them merged 😢 .

Signed-off-by: YangKeao <yangkeao@chunibyo.icu>
@YangKeao YangKeao mentioned this pull request Dec 15, 2022
Signed-off-by: YangKeao <yangkeao@chunibyo.icu>
@YangKeao YangKeao changed the title update the prost generated file update the prost generated file and remove malloc_free Dec 15, 2022
@YangKeao YangKeao mentioned this pull request Dec 15, 2022
Copy link
Contributor

@sticnarf sticnarf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

It seems that even when the minor version of prost-build doesn't change, it will also generate different files

If the updates of the generated file matter, a PR like this should work. I don't think different patch versions of prost-build will generate completely imcompatible code...

@YangKeao YangKeao merged commit b771d52 into tikv:master Jan 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants