fix(domain): the core builds with no feature again: restore_copy (worker import path) behind pdf-read, the layout test sink behind pdf-write; rust-check lints and builds the core alone (the workspace run unified the wasm crate's features and hid it)

This commit is contained in:
bchanot committed 2026-10-20 21:27:04 +02:00
1 parent 9965d7f0a0
commit a17ae45ed1
3 files changed
+7

No files matched your search

+4
View File
@@ -15,6 +15,10 @@ cd "$(dirname "$0")/.."
cargo fmt --all --check
cargo clippy --workspace --all-targets --locked -- -D warnings
cargo test --workspace --locked
# The core alone with no feature (what the worker-side and any future consumer build): the
# workspace run above unifies the wasm crate's features, so a code path that needs
# `pdf-read` or `pdf-write` without its gate compiles there and nowhere else.
cargo clippy -p faunosteo-core --all-targets --locked -- -D warnings
# The PDF reader and writer (R4) are feature-gated in the core: their code and suites compile
# only here and in the wasm module, never in the worker; `cli` adds the archive check tool
# (`report-compare`, R4.7) and its O10 suite, never built into the module.