Skip to content

Correct syn pinning on cargo 1.48 #2584

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

Merged
merged 3 commits into from
Sep 18, 2023

Conversation

TheBlueMatt
Copy link
Collaborator

Sadly the pinning introduced in 050f5a9 was brittle in the face of any further syn updates, and has already broken.

Here we fix it by looking up the actual version of syn to pin.

Note that this dependency is somewhat nonsense as its actually only a criterion dependency, pulled in even though we haven't set the bench flag (as we aren't yet using resolver = 2).

Sadly the pinning introduced in 050f5a9
was brittle in the face of any further syn updates, and has already
broken.

Here we fix it by looking up the actual version of syn to pin.

Note that this dependency is somewhat nonsense as its actually only
a `criterion` dependency, pulled in even though we haven't set the
bench flag (as we aren't yet using `resolver = 2`).
@TheBlueMatt TheBlueMatt force-pushed the 2023-09-msrv-try-2 branch 5 times, most recently from d8a8390 to 87b149b Compare September 17, 2023 00:41
@codecov-commenter
Copy link

codecov-commenter commented Sep 17, 2023

Codecov Report

Patch coverage: 82.71% and project coverage change: -1.75% ⚠️

Comparison is base (89fb5a3) 90.63% compared to head (e1707ba) 88.88%.
Report is 10 commits behind head on main.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2584      +/-   ##
==========================================
- Coverage   90.63%   88.88%   -1.75%     
==========================================
  Files         113      113              
  Lines       59054    84242   +25188     
  Branches    59054    84242   +25188     
==========================================
+ Hits        53522    74880   +21358     
- Misses       5532     7137    +1605     
- Partials        0     2225    +2225     
Files Changed Coverage Δ
lightning/src/routing/scoring.rs 92.08% <81.25%> (-2.20%) ⬇️
lightning/src/chain/channelmonitor.rs 84.91% <100.00%> (-9.74%) ⬇️
lightning/src/chain/onchaintx.rs 80.20% <100.00%> (-10.70%) ⬇️
lightning/src/util/ser.rs 77.01% <100.00%> (-8.59%) ⬇️

... and 109 files with indirect coverage changes

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

We're not actually using the build output, so there's no reason to
do a build vs just running check.
@valentinewallace valentinewallace merged commit a7e3575 into lightningdevkit:main Sep 18, 2023
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.

4 participants