Skip to content

Commit

Permalink
specify stricter constraint for libc version
Browse files Browse the repository at this point in the history
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
  • Loading branch information
blaenk committed Dec 20, 2015
1 parent 0cb72bb commit df43635
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ path = "src/lib.rs"

[dependencies]
sass-sys = "0"
libc = "0"
libc = "0.1"

0 comments on commit df43635

Please sign in to comment.