bytecodealliance / userfaultfd-rs

Rust bindings for the Linux userfaultfd functionality
Apache License 2.0
43 stars 22 forks source link

Check minimum version dependency #66

Open kawasin73 opened 9 months ago

kawasin73 commented 9 months ago

cargo usually downloads dependencies as higher versions as possible. The CI can't catch the dependency version mismatch with the minimum versions. (e.g. #65)

The CI should run tests with the minimum versions as well. minimum versions can be downloaded by this cargo command.

cargo +nightly update -Z minimal-versions
kawasin73 commented 9 months ago

Created https://github.com/rust-lang/rust-bindgen/pull/2717 for bindgen compile error.