Skip to content
This repository has been archived by the owner on Feb 26, 2023. It is now read-only.

specify stricter constraint for libc version #1

Closed
wants to merge 1 commit into from

Conversation

blaenk
Copy link

@blaenk blaenk commented Dec 20, 2015

sass-sys specifies a constraint of "0.1", but sass-rs specifies "0",
which allows version 0.2 and above

this shouldn't be a problem, because a "0.1" version would satisfy both
constraints, but I think the reason this isn't working is because of
rust-lang/cargo#2064 which might not get resolved anytime soon

without this fix, building sass-rs fails because it tries to use
libc 0.2 which has a different interface from the 0.1 that sass-sys used

this gets things building again for now, but we should look into
updating to the 0.2 interface when we get a chance

By the way, I don't think we should version Cargo.lock

sass-sys specifies a constraint of "0.1", but sass-rs specifies "0",
which allows version 0.2 and above

this shouldn't be a problem, because a "0.1" version would satisfy both
constraints, but I think the reason this isn't working is because of
rust-lang/cargo#2064 which might not get resolved anytime soon

without this fix, building sass-rs fails because it tries to use
libc 0.2 which has a different interface from the 0.1 that sass-sys used

this gets things building again for now, but we should look into
updating to the 0.2 interface when we get a chance
@winding-lines
Copy link
Member

@blaenk thx for the pull request :-) We should probably upgrade to libc 0.2. I am also ok removing Cargo.lock, I guess we can leave that for the application.

@winding-lines
Copy link
Member

@blaenk I've upgraded both sass-sys and sass-rs to libc 0.2, let me know of any problems.

@blaenk
Copy link
Author

blaenk commented Dec 20, 2015

will do 👍

@blaenk blaenk closed this Dec 20, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants