mirror of
https://github.com/freemkv/libfreemkv.git
synced 2026-10-07 18:13:10 +00:00
keyproof: trim comments to the guard limits, rustfmt, and build/test it in CI
This commit is contained in:
@@ -82,6 +82,8 @@ jobs:
|
||||
working-directory: libfreemkv
|
||||
- run: cargo +stable clippy --all-targets -- -D warnings
|
||||
working-directory: libfreemkv
|
||||
- run: cargo +stable clippy --all-targets --features keyproof -- -D warnings
|
||||
working-directory: libfreemkv
|
||||
|
||||
test:
|
||||
needs: resolve-msrv
|
||||
@@ -107,6 +109,9 @@ jobs:
|
||||
# `--tests` skips doctests; the keys compile_fail doctests enforce spec LK19.
|
||||
- run: cargo test --doc
|
||||
working-directory: libfreemkv
|
||||
# `keyproof` is off by default, so its oracle compiles and is tested only here.
|
||||
- run: cargo test --lib --features keyproof aacs::content
|
||||
working-directory: libfreemkv
|
||||
|
||||
# The memory orderings in `scsi::fd_handoff` (and `halt`) compile to the same instructions
|
||||
# on x86_64, so the WRONG ones pass every run; loom enumerates the executions
|
||||
|
||||
Reference in New Issue
Block a user