-
Notifications
You must be signed in to change notification settings - Fork 305
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
Fixes #1454 by setting the msrv #1463
Fixes #1454 by setting the msrv #1463
Conversation
Hi! Thanks for opening this pull request! 😄 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1463 +/- ##
==========================================
+ Coverage 94.31% 99.20% +4.88%
==========================================
Files 356 341 -15
Lines 13560 13141 -419
==========================================
+ Hits 12789 13036 +247
+ Misses 771 105 -666 ☔ View full report in Codecov by Sentry. |
The ci build has some issues I would need some help with:
I don't understand how the changes lead to that - probably rust 1.74.0 is not the MSRV, but we need a higher number? Which are you using as the default in ci?
? The warnings are:
(they are repeated a few times) |
oh, 1. could be because of #1464. Can you maybe verify that it runs locally? I haven't set up docker, etc. |
Usually, if one of the two ios test fails, it is just flaky, and ignore it. Also you can "bump" the CI by commiting some nonsense (e.g. a space change)
No worries, run more as you progress, and we will see whether it is just a variation
Again no worries until the last step. The existing CI has some warning as well due to 3rd party actions |
Ok, super - will do so! |
…version installed
0057f57
to
0220e48
Compare
Oh please ping me whenever I do not reply within a day! I did not see your reply above until now (when I open this page to refer to another issue). |
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.
Good job!
@@ -2,6 +2,7 @@ | |||
categories.workspace = true | |||
description.workspace = true | |||
edition.workspace = true | |||
rust-version = "1.74.0" |
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.
It may be great if we can lower the MSRV by fixing some trivial compile errors ;)
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.
Hmmm - I personally don't mind, as I like to use the latest version.
But I suggest opening another issue for that. In #1454 you can get an impression of what kind of changes would have to be made (that was with rust 1.71., the compiler complained about pup (crate)
mostly).
I assume that would require a redesign of the modularization.
IMHO: Not worth it, would not do that unless somebody complains.
I got to the MSRV of 1.74.0 by using cargo msrv
, which performs a bisect search. So it won't compile to anything lower without changes to the code.
I would leave it as it, and only of somebody raises an issue needing a lower version work on specifically supporting from that version on.
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.
I suggest opening another issue for that
Sure! Then let's keep this PR simple and atomic.
Surely! No worries, I thought you might have a Christmas break (if you celebrate it). |
Thanks :) I am taking care of your remarks now. |
No, as you can see from my github profile, I am on github 365 days per year ;) |
Hi! Congrats on merging your first pull request! 🎉 |
@all-contributors please add @patmuk for code |
I've put up a pull request to add @patmuk! 🎉 |
Changes
Checklist
./frb_example/pure_dart
example, more specifically,rust/src/api/whatever.rs
andtest/api/whatever_test.dart
. => test is in ci./frb_internal precommit --mode slow
(orfast
) is run (it internal runs code generator, does auto formatting, etc)../website
folder) are updated../frb_internal something
commands shown in CI.)=> all passes, except "Benchmark" jobs. They did not pass before this changes either.
Remark for PR creator