-
Notifications
You must be signed in to change notification settings - Fork 306
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
Merged
fzyzcjy
merged 11 commits into
fzyzcjy:master
from
patmuk:fixes-#1454-by-setting-the-MSRV
Dec 28, 2023
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
b003fef
sets MSRV for frb_codegen (wrongly to fail the tests) and implements …
patmuk 8097db5
sets the correct MSRV
patmuk 431a8a0
adds a (wrong) MSRV to frb_rust
patmuk 5822266
changes the MSRV for frb_codegen to a wrong value, to test testing
patmuk f63eda9
changes testing for the MSRV by using an image with an explicit rust …
patmuk 5584ca1
probably corrects the env var call
patmuk f1d760a
implemented env.FRB_MSRV_RUST_VERSION access differently
patmuk 3e9918d
hardodes the MSRV
patmuk 1b11265
sets the correct MSRV, but ci so that frb_rust passes, while frb_code…
patmuk 72f8ad0
sets all correct values, so ci passes, as the final test
patmuk a880abe
small fixes
patmuk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Sure! Then let's keep this PR simple and atomic.