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

Test against Rust 1.48 #512

Merged
merged 1 commit into from
Sep 2, 2021
Merged

Test against Rust 1.48 #512

merged 1 commit into from
Sep 2, 2021

Conversation

dbr
Copy link
Contributor

@dbr dbr commented Aug 22, 2021

Currently Rust 1.48 is the minimum required by the project (excluding one usage of bool::then in one of the xtask submodule command), mainly due to the #[doc(alias = ..)] which was stabilized then

So I've added this version to be tested in CI, so use of any newer things can be noticed and, at the very least, noted in changelog for a new release (pending a policy being decided in #402)

Additionally clippy will be run from this version to avoid the linter-whackamole problem, when a new stable adds new lints and suddenly fails CI on previously-accepted code

Run CI against 1.48 as well as stable and beta

Replace use of `bool_to_option` as it's in xtask, and would otherwise bump ~required version to 1.50
@sanbox-irl
Copy link
Member

lol "gentle nudge towards and msrv" I respect it. thanks for the work.

@sanbox-irl sanbox-irl merged commit 6488dfe into imgui-rs:master Sep 2, 2021
dbr added a commit to dbr/imgui-rs that referenced this pull request Sep 13, 2021
Changes required:
- Overloaded methods named slightly differently (e.g sys::igPlotHistogramFloatPtr to sys::igPlotHistogram_FloatPtr)
- ImGuiNavInput_KeyMenu_ was removed upstream, so NavInput::INTERNAL_COUNT needed tweaked
dbr added a commit to dbr/imgui-rs that referenced this pull request Sep 14, 2021
Changes required:
- Overloaded methods named slightly differently (e.g sys::igPlotHistogramFloatPtr to sys::igPlotHistogram_FloatPtr)
- ImGuiNavInput_KeyMenu_ was removed upstream, so NavInput::INTERNAL_COUNT needed tweaked
@dbr dbr deleted the rustversion branch December 2, 2022 02:38
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.

2 participants