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

Removes dependency on libc #95

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

Conversation

tanis2000
Copy link

@tanis2000 tanis2000 commented Apr 18, 2019

This PR removes dependency from libc and uses the std::os::raw types instead.


This change is Reviewable

src/image.rs Outdated Show resolved Hide resolved
src/stb_image.rs Show resolved Hide resolved
@bors-servo
Copy link
Contributor

☔ The latest upstream changes (presumably #96) made this pull request unmergeable. Please resolve the merge conflicts.

…or as before.

Compile with no-default-features to use std::os::raw types.
Got rid of the manual bindings. Bindings get generated at compile time for the target architecture.
Updated stb_image to version 2.22
Added a test to check if the library actually works with a sample image
@bors-servo
Copy link
Contributor

☔ The latest upstream changes (presumably #98) made this pull request unmergeable. Please resolve the merge conflicts.

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.

None yet

3 participants