1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
// Builder return types are necessarily complex — each combinator returns
// PipelineChain<In, Out, impl FnMut(...)>. Same pattern as iterator adapters.
// Audit functions intentionally have similar structure.
// Unused variables in closures that exist only as codegen probes.
// Audit functions are not public API — no docs needed.
// `world.registry()` returns `&Registry`; `®` is idiomatic in audit code.
// Audit helpers use short names (a, b, c) for resource params — intentional.
// DAG steps take &u64 by design — we're auditing the reference-based codegen.
// Local fn items inside audit functions keep error handlers near usage.
// Audit helpers intentionally use approximate values.
// `if b { 1 } else { 0 }` is the exact pattern we're auditing.
// Audit handler functions intentionally take params by value for codegen probing.
// High-arity handlers are intentional — we're auditing the calling convention codegen.
//! Assembly audit harness for verifying codegen quality.
//!
//! Every `pub fn` in this module is `#[inline(never)]` to provide
//! clean symbol boundaries for `cargo asm` inspection:
//!
//! ```bash
//! cargo asm --lib -p nexus-rt --features codegen-audit "pipe_linear_3"
//! ```
//!
//! These functions are NOT part of the public API. They exist solely
//! for codegen verification. The `codegen-audit` feature flag ensures
//! none of this compiles unless explicitly requested.
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;