build:
cargo build --feature=landlock
check:
cargo check --features=landlock
check-ci:
cargo check --target=$(TARGET_TRIPLE) --features=landlock
cargo check --target=$(TARGET_TRIPLE) --no-default-features
test:
cargo test --tests --examples --all-features
test-ci:
cargo test --target=$(TARGET_TRIPLE) --tests --examples --feature=landlock
cargo test --target=$(TARGET_TRIPLE) --tests --examples --no-default-features
lint:
cargo clippy --no-deps --all-targets --feature=landlock -- -W clippy::pedantic \
-A clippy::let-unit-value \
-A clippy::wildcard-imports \
-A clippy::module-name-repetitions \
-A clippy::uninlined-format-args
doc:
RUSTDOCFLAGS="-Dwarnings" cargo doc --no-deps
coverage-ci:
cargo llvm-cov --tests --examples --all-targets --feature=landlock --workspace --lcov --output-path lcov.info
coverage:
cargo llvm-cov --tests --examples --all-targets --feature=landlock --workspace --html