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

Switch to the 2021 Rust edition #33

Merged
merged 2 commits into from
Jan 27, 2023

Conversation

l0kod
Copy link
Member

@l0kod l0kod commented Jan 27, 2023

Add changes required for the CI to pass.

Make sure any change is compatible with Rust 1.63, the current MSRV.

Add a job to build this crate (including tests) with the current Minimum
Supported Rust Version (MSRV): 1.63 (see landlock-lsm#25).

Don't set a RUSTUP_TOOLCHAIN environment variable but a RUST_TOOLCHAIN
instead to avoid rustup warnings.

Signed-off-by: Mickaël Salaün <mic@digikod.net>
@l0kod
Copy link
Member Author

l0kod commented Jan 27, 2023

Cc #25 and #32

src/compat.rs Show resolved Hide resolved
@l0kod l0kod force-pushed the clippy-and-msrv-tests branch 2 times, most recently from 1bb1deb to aaa9516 Compare January 27, 2023 15:35
@l0kod l0kod changed the title Clippy and msrv tests Switch to the 2021 Rust edition Jan 27, 2023
Cosmetic changes to format string following Clippy 1.66.0 suggestions:
https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args

Signed-off-by: Mickaël Salaün <mic@digikod.net>
@l0kod l0kod force-pushed the clippy-and-msrv-tests branch from aaa9516 to b36dfbb Compare January 27, 2023 15:40
@l0kod l0kod merged commit b36dfbb into landlock-lsm:main Jan 27, 2023
@l0kod l0kod deleted the clippy-and-msrv-tests branch January 27, 2023 15:43
@l0kod l0kod mentioned this pull request Jan 30, 2023
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