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

Update ci for Rust 1.74 #1079

Merged
merged 1 commit into from
Nov 17, 2023
Merged

Update ci for Rust 1.74 #1079

merged 1 commit into from
Nov 17, 2023

Conversation

davidhewitt
Copy link
Contributor

Change Summary

Lint fixes in CI for Rust 1.74. No change of behaviour.

Related issue number

N/A

Checklist

  • Unit tests for the changes exist
  • Documentation reflects the changes where applicable
  • Pydantic tests pass with this pydantic-core (except for expected changes)
  • My PR is ready to review, please add a comment including the phrase "please review" to assign reviewers

Comment on lines 109 to 113
cargo clippy --tests -- \
-D warnings \
-W clippy::pedantic \
-W clippy::dbg_macro \
-W clippy::print_stdout \
-A clippy::cast-possible-truncation \
-A clippy::cast-possible-wrap \
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 wasn't able to move the rest of these lints to the Cargo.toml, see rust-lang/rust-clippy#11830

Copy link

codecov bot commented Nov 17, 2023

Codecov Report

Merging #1079 (dd26374) into main (203b395) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1079   +/-   ##
=======================================
  Coverage   89.63%   89.63%           
=======================================
  Files         106      106           
  Lines       16397    16397           
  Branches       35       35           
=======================================
  Hits        14698    14698           
  Misses       1692     1692           
  Partials        7        7           

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 203b395...dd26374. Read the comment docs.

@davidhewitt davidhewitt merged commit 2f0c8c2 into main Nov 17, 2023
29 checks passed
@davidhewitt davidhewitt deleted the dh/rust-1.74 branch November 17, 2023 09:38
Copy link

codspeed-hq bot commented Nov 17, 2023

CodSpeed Performance Report

Merging #1079 will improve performances by 23.44%

Comparing dh/rust-1.74 (dd26374) with main (203b395)

Summary

⚡ 2 improvements
✅ 138 untouched benchmarks

Benchmarks breakdown

Benchmark main dh/rust-1.74 Change
test_core_str 62.9 µs 55.2 µs +14.02%
test_core_future_str 37.7 µs 30.6 µs +23.44%

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.

None yet

1 participant