Skip to content

Conversation

apoelstra
Copy link
Member

@apoelstra apoelstra commented Jul 8, 2025

CI is going to fail miserably and even compiling locally may be difficult. Reviewers should, at a minimum, verify that no code has changed except for test code (in src/types.rs) and code gated on cfg(fuzzing).

Fixes #821

apoelstra added 2 commits July 8, 2025 14:03
Confirmed by running the nostd test with

cd no_std_test/
RUSTFLAGS=--cfg=fuzzing cargo +nightly-2023-12-31 run

Previously this would not compile. Now it instead errors out with an
"out of memory" error which I suspect is intended behavior from the
fuzz infrastructure.
This will break CI even further than it's already broken (due to unpinned
dependencies and compilers), because we have a check that the symbol names
in libsecp256k1 match the version number in Cargo.toml.

But updating these names would be a breaking change. In modern versions of
rust-secp we have fixed this by not putting patch version numbers into the
symbol names.
Copy link
Member

@tcharding tcharding left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 365a452

@tcharding
Copy link
Member

verify that no code has changed except for test code (in no_std_test/) and code gated on cfg(fuzzing).

There are no changes to no_std_test, is that comment stale? And as far as I can tell, outside of removing stuff from non-std build there are no functional changes at all, right?

@apoelstra
Copy link
Member Author

Ah, yes, it is stale -- my problems with no_std_test were solved by using an older nightly. I did not need to modify any code.

@apoelstra
Copy link
Member Author

And as far as I can tell, outside of removing stuff from non-std build there are no functional changes at all, right?

Correct. I think the only thing that could go wrong here is that I break compilation somehow.

@apoelstra apoelstra merged commit 139f917 into rust-bitcoin:secp256k1-sys-0.8.x Jul 8, 2025
10 of 26 checks passed
@apoelstra apoelstra deleted the 2025-07_sys_0.8.2 branch July 8, 2025 22:17
@apoelstra
Copy link
Member Author

Tagged and published.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants