~ knotless Search/
↑↓ move↵ open⇧↵ all results
0
0

Comments point at the contributing guide's code gates, not the README

Merged chadtmiller.com asked to merge into main from chadtmiller.com/monolith:docs/checks-pointers
harness/code.mjs+3−3
@@ -1,6 +1,6 @@
// A code gate cargo has no flag for (README.md, Checks): every crate of the
// workspace, each target cargo builds of it, forbids unsafe code with
// `#![forbid(unsafe_code)]` in its root file.
// A code gate cargo has no flag for (docs/guide/contributing.md, "The code
// gates"): every crate of the workspace, each target cargo builds of it,
// forbids unsafe code with `#![forbid(unsafe_code)]` in its root file.
//
// node code.mjs (CARGO, default `cargo`, names the cargo to ask)
harness/gates.mjs+4−4
@@ -40,10 +40,10 @@ const SUITES = {
run(15, 'compare.mjs', '--upgrade'),
run(90, 'compare.mjs', '--steps', 200, '--seed', 61, '--crash-every', 25, '--s3'),
],
// The source (README.md, Checks): formatted, clean of clippy's warnings,
// its dependencies' licences and advisories, and no unsafe code; the
// pages' components in their layers, their colours' contrast, and
// svelte-check.
// The source (docs/guide/contributing.md, "The code gates"): formatted,
// clean of clippy's warnings, its dependencies' licences and advisories,
// and no unsafe code; the pages' components in their layers, their
// colours' contrast, and svelte-check.
code: [
check(5, ...cargo, 'fmt', '--all', '--check'),
check(120, ...cargo, 'clippy', '--workspace', '--all-targets', '--', '-D', 'warnings'),
deny.toml+1−1
@@ -1,5 +1,5 @@
# `cargo deny check`: the dependencies' licences, advisories, bans and
# sources, a gate as `README.md`'s Checks says.
# sources, a gate as `docs/guide/contributing.md`'s "The code gates" says.
[graph]
all-features = true