Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pin cc on Windows MSRV. #3357

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

arik-so
Copy link
Contributor

@arik-so arik-so commented Oct 11, 2024

This ought to fix the CI issues.

Copy link

codecov bot commented Oct 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.58%. Comparing base (ad19d93) to head (2a3a0d8).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3357      +/-   ##
==========================================
- Coverage   89.61%   89.58%   -0.04%     
==========================================
  Files         127      127              
  Lines      103533   103533              
  Branches   103533   103533              
==========================================
- Hits        92785    92750      -35     
- Misses       8051     8076      +25     
- Partials     2697     2707      +10     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@vincenzopalazzo
Copy link
Contributor

vincenzopalazzo commented Oct 11, 2024

This ought to fix the CI issues.

Sorry to be annoying here, but just for context do you have the stack trace/error that this PR is fixing?

@arik-so
Copy link
Contributor Author

arik-so commented Oct 11, 2024

Ah, alas, the error was a timeout that wasn't actually leaving any actionable stack trace. Take a look at any (other) currently open or recently closed PR and check the Windows/1.63.0 build logs.

@arik-so
Copy link
Contributor Author

arik-so commented Oct 11, 2024

With debug-level logging enabled, there would have been a stack trace which I described here: rust-bitcoin/rust-secp256k1#748

- name: Pin cc on Windows MSRV
if: "matrix.toolchain == '1.63.0' && matrix.platform == 'windows-latest'"
run: |
cargo update -p [email protected] --precise "0.23.0" --verbose
Copy link
Contributor

Choose a reason for hiding this comment

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

Can't we just pin cc?

I don't think we should pin rustls and all the other crypto crates (even if it's just on Windows).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I had originally tried to pin an older version of cc, so I tried again for this one. The short answer is no, I'm afraid.

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.

3 participants