Repository navigation
·
3 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
Added
ci.yaml: newwasm-packagesinput (space-separated workspace members,
default empty = whole workspace) narrowing which packages the per-target
clippy passes lint. Workspaces that mix host-only crates with guest
components can now passtargets: wasm32-wasip2at all.mise/rust.toml:lint-hostandlint-wasm(the two halves oflint),
fmt-check,vet-regenand acovcoverage helper
(cargo llvm-cov nextest --workspace --all-features --summary-only).mise/rust.toml: consumer knobs read from[env]:WASM32_PACKAGES
(mirrorswasm-packages) andOUTDATED_IGNORE(comma-separated, mirrors
audit.yaml'soutdatedinput).- README: consumer configuration, the wasm32 lint convention and a table
mapping eachci.yamljob to itsmise/rust.tomltask.
Changed
ci.yamlandmise/rust.toml(lint-wasm): the per-target clippy pass
builds--lib --bins --examplesinstead of--all-targets, and the
per-targetcargo hack clippy --each-featurepass uses cargo's default
targets (lib + bins). Integration tests and benches, whose dev-dependencies
are host-only in most workspaces, are no longer compiled for wasm32.
Convention: any bin or example in the wasm32 scope that is host-only must be
cfg-gated to an emptymainon wasm32.mise/rust.toml:vetis now check-only (cargo vet --locked), matching
the CIvetjob; the threeregeneratesteps moved tovet-regen.mise/rust.toml:ciruns exactly the CI jobs
(fmt-check,lint,test,test-docs,docs,vet,deny).
outdatedanddepsremain incheck;fmtno longer rewrites sources
as part ofci.mise/rust.toml:outdatedno longer hard-codes omnia's ignore list; set
OUTDATED_IGNOREinstead.mise/rust.toml:lintpasses--locked;RUSTFLAGS=-Dwarningsis set
onlint,test,test-docsanddocs, anddocsalso sets
RUSTDOCFLAGS=-Dwarnings, somise run cimatches the workflow's global
environment.
What's Changed
- review reusability of mise and ci lint commands by @andrew-goldie in #42
Full Changelog: v0.1.2...v0.2.0