secp256k1-sys: remove restriction on cc version

This commit is contained in:
Andronik Ordian 2020-03-14 15:04:37 +01:00
parent 8c517e0afa
commit fd8b3ff572
No known key found for this signature in database
GPG Key ID: C66F3C680DE0E6ED
3 changed files with 7 additions and 1 deletions

View File

@ -21,6 +21,7 @@ matrix:
os: windows os: windows
script: script:
- cargo generate-lockfile --verbose && cargo update -p cc --precise "1.0.41" --verbose
- cargo build --verbose --no-default-features - cargo build --verbose --no-default-features
- cargo build --verbose --no-default-features --features="serde" - cargo build --verbose --no-default-features --features="serde"
- cargo build --verbose --no-default-features --features="lowmemory" - cargo build --verbose --no-default-features --features="lowmemory"

View File

@ -19,7 +19,7 @@ links = "rustsecp256k1_v0_1_1"
features = [ "recovery", "endomorphism", "lowmemory" ] features = [ "recovery", "endomorphism", "lowmemory" ]
[build-dependencies] [build-dependencies]
cc = ">= 1.0.28, <= 1.0.41" cc = "1.0.28"
[lib] [lib]
name = "secp256k1_sys" name = "secp256k1_sys"

View File

@ -26,6 +26,11 @@ $ ./vendor-libsecp.sh depend <version-code> <rev>
- Where `<version-code>` is the secp256k1-sys version number underscored: `0_1_2`. - Where `<version-code>` is the secp256k1-sys version number underscored: `0_1_2`.
- Where `<rev>` is the git revision of libsecp256k1 to checkout. - Where `<rev>` is the git revision of libsecp256k1 to checkout.
## Note
The build dependency `cc` might require a recent version of the rust compiler.
If you want to compile it with rust 1.22.0, pin its version in your `Cargo.lock`
with `cargo update -p cc --precise 1.0.41`.
## Linking to external symbols ## Linking to external symbols