diff --git a/.travis.yml b/.travis.yml index 83f2bb9..179a82f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,6 +21,7 @@ matrix: os: windows 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 --features="serde" - cargo build --verbose --no-default-features --features="lowmemory" diff --git a/secp256k1-sys/Cargo.toml b/secp256k1-sys/Cargo.toml index 45c2edb..60adb1c 100644 --- a/secp256k1-sys/Cargo.toml +++ b/secp256k1-sys/Cargo.toml @@ -19,7 +19,7 @@ links = "rustsecp256k1_v0_1_1" features = [ "recovery", "endomorphism", "lowmemory" ] [build-dependencies] -cc = ">= 1.0.28, <= 1.0.41" +cc = "1.0.28" [lib] name = "secp256k1_sys" diff --git a/secp256k1-sys/README.md b/secp256k1-sys/README.md index 835f8aa..ea98003 100644 --- a/secp256k1-sys/README.md +++ b/secp256k1-sys/README.md @@ -26,6 +26,11 @@ $ ./vendor-libsecp.sh depend - Where `` is the secp256k1-sys version number underscored: `0_1_2`. - Where `` 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