robo9k / rust-magic-sys

Rust declarations crate for the `libmagic` C library
Apache License 2.0
10 stars 6 forks source link

Determine and document minimum supported rust version (MSRV) #14

Closed robo9k closed 3 years ago

robo9k commented 3 years ago

This was done using cargo msrv with cargo test on Linux.

CI has not been adjusted to have a build matrix for MSRV. MSRV and current stable should be built for all platforms in a future merge request.

robo9k commented 3 years ago

Turns out Rust 1.38.0-x86_64-pc-windows-msvc is not compatible with cargo-vcpkg, so cargo install cargo-vcpkg fails for Windows CI. Workaround is to cargo +stable install cargo-vcpkg and then continue with the build as usual.

robo9k commented 3 years ago

MSRV is also relevant for #5 , readme has been updated in this merge request already.