Skip to content

Commit 0b3d9ff

Browse files
committed
Merge #879: Bump secp256k1-sys to v0.13.0
51fb044 secp256k1-sys: bump version to 0.13.0 (nymius) Pull request description: These changes bump the version of the secp256k1-sys internal crate to version 0.13.0. It includes all the changes from libsecp256k1 at v0.7.0 and a possible fix for the linking issues related to the change the pointers `secp256k1_context_static` and `secp256k1_context_no_precomp` to `const` pointers. Fixes #878 ACKs for top commit: apoelstra: ACK 51fb044; successfully ran local tests Tree-SHA512: a59b0055275be65756e178d8caa06448cc29bf51564184df49ce0889cdcb78168cdf5953a6df7f24c0260e5e1c951f945d55975192d7498d0b27871afaf8afd0
2 parents 5ca183e + 51fb044 commit 0b3d9ff

152 files changed

Lines changed: 18932 additions & 8194 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Cargo-minimal.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ dependencies = [
223223

224224
[[package]]
225225
name = "secp256k1-sys"
226-
version = "0.12.0"
226+
version = "0.13.0"
227227
dependencies = [
228228
"cc",
229229
"libc",

Cargo-recent.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ dependencies = [
214214

215215
[[package]]
216216
name = "secp256k1-sys"
217-
version = "0.12.0"
217+
version = "0.13.0"
218218
dependencies = [
219219
"cc",
220220
"libc",

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ global-context-less-secure = ["global-context"]
3131
arbitrary = ["dep:arbitrary"]
3232

3333
[dependencies]
34-
secp256k1-sys = { version = "0.12.0", default-features = false, path = "./secp256k1-sys" }
34+
secp256k1-sys = { version = "0.13.0", default-features = false, path = "./secp256k1-sys" }
3535

3636
arbitrary = { version = "1.4", optional = true }
3737
rand = { version = "0.9", default-features = false, optional = true }

secp256k1-sys/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 0.13.0 - 2026-01-12
2+
3+
* Update libsecp256k1 to [v0.7.0](https://github.com/bitcoin-core/secp256k1/releases/tag/v0.7.0).
4+
15
# 0.12.0 - 2025-10-10
26

37
* Fix lowmemory feature [#799](https://github.com/rust-bitcoin/rust-secp256k1/pull/799)

secp256k1-sys/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "secp256k1-sys"
3-
version = "0.12.0"
3+
version = "0.13.0"
44
authors = [ "Dawid Ciężarkiewicz <dpc@ucore.info>",
55
"Andrew Poelstra <apoelstra@wpsoftware.net>",
66
"Steven Roose <steven@stevenroose.org>" ]
@@ -12,7 +12,7 @@ description = "FFI for Pieter Wuille's `libsecp256k1` library."
1212
keywords = [ "secp256k1", "libsecp256k1", "ffi" ]
1313
readme = "README.md"
1414
build = "build.rs"
15-
links = "rustsecp256k1_v0_12"
15+
links = "rustsecp256k1_v0_13"
1616
edition = "2021"
1717
rust-version = "1.63.0"
1818

@@ -44,4 +44,4 @@ uninlined_format_args = "allow" # This is a subjective style choice.
4444
indexing_slicing = "allow" # Too many false positives ... would be cool though
4545
match_bool = "allow" # Adds extra indentation and LOC.
4646
match_same_arms = "allow" # Collapses things that are conceptually unrelated to each other.
47-
must_use_candidate = "allow" # Useful for audit but many false positives.
47+
must_use_candidate = "allow" # Useful for audit but many false positives.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# This file was automatically created by vendor-libsecp.sh
2-
0cdc758a56360bf58a851fe91085a327ec97685a
2+
a660a4976efe880bae7982ee410b9e0dc59ac983
Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
1-
236d235
2-
< SECP256K1_API const secp256k1_context *secp256k1_context_static;
3-
239,240d237
4-
< SECP256K1_API const secp256k1_context *secp256k1_context_no_precomp
1+
245d244
2+
< SECP256K1_API const secp256k1_context * const secp256k1_context_static;
3+
248,249d246
4+
< SECP256K1_API const secp256k1_context * const secp256k1_context_no_precomp
55
< SECP256K1_DEPRECATED("Use secp256k1_context_static instead");
6-
286,289d282
6+
295,298d291
77
< SECP256K1_API secp256k1_context *secp256k1_context_create(
88
< unsigned int flags
99
< ) SECP256K1_WARN_UNUSED_RESULT;
1010
<
11-
302,305d294
11+
311,314d303
1212
< SECP256K1_API secp256k1_context *secp256k1_context_clone(
1313
< const secp256k1_context *ctx
1414
< ) SECP256K1_ARG_NONNULL(1) SECP256K1_WARN_UNUSED_RESULT;
1515
<
16-
320,323d308
16+
329,332d317
1717
< SECP256K1_API void secp256k1_context_destroy(
1818
< secp256k1_context *ctx
1919
< ) SECP256K1_ARG_NONNULL(1);
2020
<
21-
636d610
21+
636d620
2222
< SECP256K1_API const secp256k1_nonce_function secp256k1_nonce_function_rfc6979;
23-
639d612
23+
639d622
2424
< SECP256K1_API const secp256k1_nonce_function secp256k1_nonce_function_default;

secp256k1-sys/depend/secp256k1/.cirrus.yml

Lines changed: 0 additions & 101 deletions
This file was deleted.
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: "Print logs"
2+
description: "Print the log files produced by ci/ci.sh"
3+
runs:
4+
using: "composite"
5+
steps:
6+
- shell: bash
7+
run: |
8+
# Print the log files produced by ci/ci.sh
9+
10+
# Helper functions
11+
group() {
12+
title=$1
13+
echo "::group::$title"
14+
}
15+
endgroup() {
16+
echo "::endgroup::"
17+
}
18+
cat_file() {
19+
file=$1
20+
group "$file"
21+
cat "$file"
22+
endgroup
23+
}
24+
25+
# Print all *.log files
26+
shopt -s nullglob
27+
for file in *.log; do
28+
cat_file "$file"
29+
done
30+
31+
# Print environment
32+
group "CI env"
33+
env
34+
endgroup

0 commit comments

Comments
 (0)