Skip to content

Commit fd8b3ff

Browse files
author
Andronik Ordian
committed
secp256k1-sys: remove restriction on cc version
1 parent 8c517e0 commit fd8b3ff

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ matrix:
2121
os: windows
2222

2323
script:
24+
- cargo generate-lockfile --verbose && cargo update -p cc --precise "1.0.41" --verbose
2425
- cargo build --verbose --no-default-features
2526
- cargo build --verbose --no-default-features --features="serde"
2627
- cargo build --verbose --no-default-features --features="lowmemory"

secp256k1-sys/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ links = "rustsecp256k1_v0_1_1"
1919
features = [ "recovery", "endomorphism", "lowmemory" ]
2020

2121
[build-dependencies]
22-
cc = ">= 1.0.28, <= 1.0.41"
22+
cc = "1.0.28"
2323

2424
[lib]
2525
name = "secp256k1_sys"

secp256k1-sys/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ $ ./vendor-libsecp.sh depend <version-code> <rev>
2626
- Where `<version-code>` is the secp256k1-sys version number underscored: `0_1_2`.
2727
- Where `<rev>` is the git revision of libsecp256k1 to checkout.
2828

29+
## Note
30+
31+
The build dependency `cc` might require a recent version of the rust compiler.
32+
If you want to compile it with rust 1.22.0, pin its version in your `Cargo.lock`
33+
with `cargo update -p cc --precise 1.0.41`.
2934

3035
## Linking to external symbols
3136

0 commit comments

Comments
 (0)