File tree 2 files changed +10
-1
lines changed
2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -26,4 +26,12 @@ Contributions to this library are welcome. A few guidelines:
26
26
27
27
The build dependency ` cc ` might require a more recent version of the Rust compiler.
28
28
To ensure compilation with Rust 1.22.0, pin its version in your ` Cargo.lock `
29
- with ` cargo update -p cc --precise 1.0.41 ` .
29
+ with ` cargo update -p cc --precise 1.0.41 ` . If you're using ` secp256k1 ` in a library,
30
+ to make sure it compiles in CI, you'll need to generate a lockfile first.
31
+ Example for Travis CI:
32
+ ``` yml
33
+ before_script :
34
+ - if [ "$TRAVIS_RUST_VERSION" == "1.22.0" ]; then
35
+ cargo generate-lockfile --verbose && cargo update -p cc --precise "1.0.41" --verbose;
36
+ fi
37
+ ` ` `
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ $ ./vendor-libsecp.sh depend <version-code> <rev>
26
26
- Where ` <version-code> ` is the secp256k1-sys version number underscored: ` 0_1_2 ` .
27
27
- Where ` <rev> ` is the git revision of libsecp256k1 to checkout.
28
28
29
+
29
30
## Linking to external symbols
30
31
31
32
For the more exotic use cases, this crate can be used with existing libsecp256k1
You can’t perform that action at this time.
0 commit comments