pub fn write_weight_manifest<W: Write>( w: &mut W, m: &WeightManifest, ) -> Result<()>
2026-09-25: Serialize m to JSON and write it with its length prefix.
m