diff --git a/wai/byte-exact-conformance/src/lib.rs b/wai/byte-exact-conformance/src/lib.rs index e1dd0699f..9e2614ce2 100644 --- a/wai/byte-exact-conformance/src/lib.rs +++ b/wai/byte-exact-conformance/src/lib.rs @@ -10,5 +10,12 @@ pub mod neural; +// rans.rs's integer-entropy round-trip test references `crate::int_entropy` +// (the scale-bucketing that makes a conditional codec cross-hardware exact). +// Included from wai-rs verbatim, same single-source-of-truth rule as the +// neural sources — it is itself pure-integer and self-contained. +#[path = "../../wai-rs/src/int_entropy.rs"] +pub mod int_entropy; + mod golden; mod jpegai_golden; diff --git a/wai/byte-exact-conformance/src/neural/mod.rs b/wai/byte-exact-conformance/src/neural/mod.rs index 7ee0995a6..7007dbecd 100644 --- a/wai/byte-exact-conformance/src/neural/mod.rs +++ b/wai/byte-exact-conformance/src/neural/mod.rs @@ -31,7 +31,7 @@ pub mod image { } // The actual integer decode paths, included from wai-rs verbatim. -#[path = "../../../wai-rs/src/neural/rans.rs"] +#[path = "../../../wai-rs/src/rans.rs"] pub mod rans; #[path = "../../../wai-rs/src/int_synth.rs"] pub mod int_synth;