Skip to content
This repository has been archived by the owner on Sep 4, 2022. It is now read-only.

Unpin libc dependency #317

Merged
merged 1 commit into from Feb 27, 2019
Merged

Unpin libc dependency #317

merged 1 commit into from Feb 27, 2019

Conversation

kpcyrd
Copy link
Member

@kpcyrd kpcyrd commented Feb 27, 2019

This makes sure we don't run into unresolvable dependency conflicts if any crate depends on libc = "> 0.2.48".

@coveralls
Copy link

coveralls commented Feb 27, 2019

Pull Request Test Coverage Report for Build 873

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 95.048%

Totals Coverage Status
Change from base Build 866: 0.0%
Covered Lines: 2879
Relevant Lines: 3029

💛 - Coveralls

@kpp
Copy link
Member

kpp commented Feb 27, 2019

@kpcyrd would you please point why is it important to merge

@Dylan-DPC-zz
Copy link
Member

Will explain the use case / problem of this when I get to office. Thanks

@dnaq
Copy link
Collaborator

dnaq commented Feb 27, 2019 via email

@kpp
Copy link
Member

kpp commented Feb 27, 2019

@dnaq why?

@dnaq
Copy link
Collaborator

dnaq commented Feb 27, 2019 via email

@Dylan-DPC-zz
Copy link
Member

Yes that's right we need to avoid users having conflicts with libc. But at the same time, libc often breaks in point releases, so it also makes sense to pin to a particular version. I will speak to the co-maintainers of libc and get back on this later today or tomorrow.

@Dylan-DPC-zz
Copy link
Member

Okay, i'm fine with this change.

@Dylan-DPC-zz
Copy link
Member

Had a discussion with libc maintainers, they are moving towards making libc semver-compatible. So we are good. in case there are any breaking changes, we need to issue patch releases that pin in to a version where we are fine with libc and report it upstream.

libsodium-sys/Cargo.toml Outdated Show resolved Hide resolved
Dylan-DPC-zz
Dylan-DPC-zz previously approved these changes Feb 27, 2019
@Dylan-DPC-zz
Copy link
Member

bors: r+

bors bot added a commit that referenced this pull request Feb 27, 2019
317: Unpin libc dependency r=Dylan-DPC a=kpcyrd

This makes sure we don't run into unresolvable dependency conflicts if any crate depends on `libc = "> 0.2.48"`.

Co-authored-by: kpcyrd <git@rxv.cc>
@bors
Copy link
Contributor

bors bot commented Feb 27, 2019

Build failed

@kpp
Copy link
Member

kpp commented Feb 27, 2019

bors: r+

bors bot added a commit that referenced this pull request Feb 27, 2019
317: Unpin libc dependency r=kpp a=kpcyrd

This makes sure we don't run into unresolvable dependency conflicts if any crate depends on `libc = "> 0.2.48"`.

Co-authored-by: kpcyrd <git@rxv.cc>
@bors
Copy link
Contributor

bors bot commented Feb 27, 2019

@bors bors bot merged commit 8dcf85a into master Feb 27, 2019
@kpp kpp deleted the libc branch February 27, 2019 18:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
5 participants