Skip to content

Commit 37b9e2d

Browse files
committed
move the note to the main readme
1 parent 420eb38 commit 37b9e2d

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,9 @@ Contributions to this library are welcome. A few guidelines:
2121
* No new dependencies, please.
2222
* No crypto should be implemented in Rust, with the possible exception of hash functions. Cryptographic contributions should be directed upstream to libsecp256k1.
2323
* This library should always compile with any combination of features on **Rust 1.22**.
24+
25+
## A note on Rust 1.22 support
26+
27+
The build dependency `cc` might require a more recent version of the Rust compiler.
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`.

secp256k1-sys/README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,6 @@ $ ./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`.
34-
3529
## Linking to external symbols
3630

3731
For the more exotic use cases, this crate can be used with existing libsecp256k1

0 commit comments

Comments
 (0)