Skip to content

Conversation

apoelstra
Copy link
Member

@apoelstra apoelstra commented Aug 23, 2025

The incorrectly-indented wasm test from #819 is causing Github to silently disable all of our checks. If you click through to the "Actions" tab of this repo you can see it failing (with a "syntax error on line 1" nonsense error). For example https://github.com/apoelstra/rust-secp256k1/actions/runs/17178718613/workflow

Delete the test, and also fix everything else that broke in the meantime.

@apoelstra apoelstra mentioned this pull request Aug 23, 2025
@apoelstra apoelstra changed the title ci: fix bad syntax line ci: fix incorrectly indented wasm test Aug 23, 2025
Rust 1.88.0 introduced a warning, and 1.89.0 made it an error, to dereference
a raw pointer in a way where it is implicitly turned into a reference. This
is probably a good lint but breaking compilation like this is bullshit.

There are many instances of this in our fuzz code (none in the real code).
We just need to change the implicit & and &muts to explicit ones.

We will need to backport some change if we want our CI to keep working on
old versions. Probably just whitelisting the lint for old versions of the
library is fine.
Copy link
Member Author

@apoelstra apoelstra left a comment

Choose a reason for hiding this comment

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

On e3fc51f successfully ran local tests

Incorrect indentation causes Github to report "syntax error on line 1" and silently
disable all of the checks in this library. For example, see
https://github.com/apoelstra/rust-secp256k1/actions/runs/17178718613/workflow

After fixing the indentation, the test doesn't work, obviously, because it's a wasm
test.
@apoelstra apoelstra changed the title ci: fix incorrectly indented wasm test ci: delete broken wasm job Aug 24, 2025
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.

1 participant