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

Allow libyaml 0.2 to pass tests, make build on architectures where it failed #11

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

silwol
Copy link

@silwol silwol commented Dec 8, 2018

The first commit allows libyaml 0.2 to be used in addition to 0.1. This only affects the tests. As far as I can see, the libyaml 0.2 API is compatible to the degree that is used in this crate.

When working on Debian packaging, a small bug showed preventing builds on architectures which use u8 as c_char. https://buildd.debian.org/status/fetch.php?pkg=rust-yaml&arch=arm64&ver=0.3.0-1&stamp=1539200882&raw=0 shows one of the failed builds. This is fixed in the second commit.

This allows the project to build on architectures which define c_char as u8.
Fixes build problems in architectures provided by debian.
@kimhyunkang
Copy link
Owner

Thanks for the fix!

I didn't know 0.2 release came out. I'll check it out and see if I can continue to support 0.2.x release as it is.

Until then, is it ok for you if I only merge the c_char fix?

@silwol
Copy link
Author

silwol commented Dec 11, 2018

Of course it's ok for me. Thank you!

@kimhyunkang
Copy link
Owner

kimhyunkang commented Dec 11, 2018

I cherry-picked e526139 to master. I'd like to delay releasing another version until I review libyaml 0.2.x API.

Thanks for the patch!

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