-
Notifications
You must be signed in to change notification settings - Fork 314
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
refactor: port div_ceil from stdlib to avoid unstable features #1191
refactor: port div_ceil from stdlib to avoid unstable features #1191
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #1191 +/- ##
===========================================
+ Coverage 85.14% 85.17% +0.02%
===========================================
Files 485 485
Lines 71903 71985 +82
===========================================
+ Hits 61223 61312 +89
+ Misses 10680 10673 -7 |
8f80ea7
to
9cece3b
Compare
Just ported rust stdlib's impl of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
…imeTeam#1191) * refactor: use float div&ceil to avoid unstable features * refactor: port div_ceil from rust stdlib
I hereby agree to the terms of the GreptimeDB CLA
What's changed and what's your intention?
When using our code base with those repos requires stable toolchains, like vector, unstable features block its compilation. This patch removes replaceable unstable feature in time module.
Checklist
Refer to a related PR or issue link (optional)