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

refactor: resolve c pointers const #5171

Merged
merged 7 commits into from
Oct 14, 2024
Merged

refactor: resolve c pointers const #5171

merged 7 commits into from
Oct 14, 2024

Conversation

tisonkun
Copy link
Member

@tisonkun tisonkun commented Oct 8, 2024

Draft to try.

bindings/go/operator.go Outdated Show resolved Hide resolved
bindings/go/operator.go Outdated Show resolved Hide resolved
bindings/go/operator.go Outdated Show resolved Hide resolved
@tisonkun tisonkun force-pushed the c-pointers branch 2 times, most recently from 9ac2373 to 32dba0c Compare October 8, 2024 07:14
bindings/zig/test/bdd.zig Outdated Show resolved Hide resolved
@tisonkun
Copy link
Member Author

tisonkun commented Oct 8, 2024

@yuchanns now compile can work but test failed. Please see https://github.com/apache/opendal/actions/runs/11230441983/job/31217839150.

bindings/c/src/types.rs Outdated Show resolved Hide resolved
@tisonkun tisonkun requested a review from yuchanns October 8, 2024 08:39
@tisonkun
Copy link
Member Author

tisonkun commented Oct 8, 2024

@yuchanns I revert changes in Golang because we're now accept *mut for free again. But the other type can change so there is still failure. I don't know how to debug it locally so I'd delegate it to you to figure out.

@tisonkun tisonkun force-pushed the c-pointers branch 2 times, most recently from 0492f88 to 3a1e39f Compare October 8, 2024 09:32
@tisonkun
Copy link
Member Author

tisonkun commented Oct 8, 2024

@yuchanns I fixed the go cases now.

@tisonkun
Copy link
Member Author

tisonkun commented Oct 8, 2024

No. It's still failed =。=

@yuchanns
Copy link
Member

yuchanns commented Oct 8, 2024

so I'd delegate it to you to figure out.

I will be back at Oct. 13th.

@tisonkun
Copy link
Member Author

tisonkun commented Oct 8, 2024

so I'd delegate it to you to figure out.

I will be back at Oct. 13th.

Yeah. No hurry. Enjoy your vacation!

@yuchanns
Copy link
Member

yuchanns commented Oct 14, 2024

Oops! The rebase overwrites your real commits. Sorry.

Since #5179 has been merged, the go-binding can now be easily debugged. See https://github.com/apache/opendal/tree/main/bindings/go#development

And I will debug the go part in this PR

@yuchanns
Copy link
Member

The Go binding CI is green now. @tisonkun

Copy link
Member

@Xuanwo Xuanwo left a comment

Choose a reason for hiding this comment

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

Thank you @tisonkun for working on this, and thank you @yuchanns for fixing golang part.

@Xuanwo Xuanwo merged commit 2a332f3 into main Oct 14, 2024
33 checks passed
@Xuanwo Xuanwo deleted the c-pointers branch October 14, 2024 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants