Repository navigation
v0.1.1
A build fix, and a CI change that is the more important half of it.
Fixed
cbvault-formatdid not compile on Windows.DbFile::opencalled
memmap2::Advicebehind the crate's default-onmmapfeature, gated on the
feature and not on the target.AdviceandMmap::adviseare#[cfg(unix)]in
memmap2, so on Windows the crate failed withE0433: cannot find Advice in memmap2andE0599: no method named advise found for &Mmapand nothing
depending on it could be built. Found by BlindBase'sv0.4.3release build on
windows-x64; the same release'smacos-arm64job passed. The advisory
Sequentialhint is now gated#[cfg(unix)], so wherememmap2offers no
equivalent the mapping is used as it is. No decoding, API, error or output
change on any platform, and no change at all on Unix.DbFile::reopenwas lint-dirty. Windows-only, and — with no Windows job in
CI — never compiled by anything. Itsunsafe extern "system"block and two
unsafeblocks now carry#[allow(unsafe_code)](each already has aSAFETY
comment), and the///on the extern block, which rustdoc does not document, is
a plain comment. Four warnings, zero now.
Changed
- CI runs on
windows-latest. Both operating systems were Unix, which is why
a green tree published a version that did not compile on one of the two desktop
platforms its only consumer ships: a Unix-only matrix cannot see a Unix-only
API, and every#[cfg(windows)]line in this crate was unbuilt by CI. The
Windows job compiles all targets, lints with-D warnings, runs the suite and
compiles the benchmarks, like the other two. - The CI job's steps run under bash on all three platforms. The toolchain
check uses bash parameter expansion andsort -V; PowerShell is the Windows
default and would have failed the job for a reason unrelated to the code.
Not changed
- No format, decoding path, public API, error type or output byte.
- No dependency added, removed or upgraded.
- No benchmark-affecting change: the dropped call is an advisory hint, and it is
dropped only where it does not exist.
Provenance
No new module and no third-party material. The two touched functions are already
in docs/provenance.md.
Full Changelog: v0.1.0...v0.1.1