Closed musicinmybrain closed 5 months ago
Whilst I don't expect all CI jobs to pass at the moment, the Windows MSRV should pass, but it does not here: https://github.com/rust-pcap/pcap/actions/runs/8724374552/job/23943643474?pr=346. It appears that libloading
introduced a dependency that requires a newer rust compiler.
Here's what you can do:
msrv
to see where you can change the CI to this version. You can also test older rust versions locally with rustup.libloading
newer than 0.6
, but older than the latest one will work.Thanks. I will investigate.
Since libloading
cites an MSRV of 1.56 as of 0.8.2, I’m trying that first. Hopefully I’ve tweaked everything correctly.
It looks like this now has no more CI failures than https://github.com/rust-pcap/pcap/pull/348 does.
It looks like this now has no more CI failures than #348 does.
Yes, the CI currently fails in the same places as main. I will merge and publish soon. Thanks for the PR!
You’re welcome! Glad it is useful.
Deal with the fact that
libloading::Library::new
was declaredunsafe
inlibloading 0.7
; see https://github.com/nagisa/rust_libloading/issues/86 and https://github.com/nagisa/rust_libloading/blob/0.8.3/src/changelog.rs#L96-L151 for details.Fixes #345.