You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All three error classes reproduce on today's main — five errors total. Two causes, both cfg branches nothing ever built:
registry.rs duplicated the whole HarmonyEncoding struct literal across the native and wasm32 loaders. d00ac3d ("make HarmonyEncoding usable concurrently", 2025-08-05) removed conversation_has_function_tools and updated only the native copy, which is where the E0560 and E0433 come from.
load_encoding_from_bytes was never defined; only load_encoding_from_file exists, hence the three E0425s.
Rather than re-sync the two struct literals and leave them free to drift again, the shared construction moves into one helper so the loaders differ only in blocking vs async. The PR also adds a wasm32 CI check — without one this rots again, having gone a year unnoticed. It is a separate workflow file because CI.yml is maturin-generated and a job added there would be lost on regeneration.
cargo check --target wasm32-unknown-unknown --lib now exits 0; cargo test still 31 passed.
Activity
lets-order-some-fries commentedon Sep 23, 2026
Opened #156 for this.
All three error classes reproduce on today's
main— five errors total. Two causes, bothcfgbranches nothing ever built:registry.rsduplicated the wholeHarmonyEncodingstruct literal across the native and wasm32 loaders. d00ac3d ("makeHarmonyEncodingusable concurrently", 2025-08-05) removedconversation_has_function_toolsand updated only the native copy, which is where the E0560 and E0433 come from.load_encoding_from_byteswas never defined; onlyload_encoding_from_fileexists, hence the three E0425s.Rather than re-sync the two struct literals and leave them free to drift again, the shared construction moves into one helper so the loaders differ only in blocking vs async. The PR also adds a wasm32 CI check — without one this rots again, having gone a year unnoticed. It is a separate workflow file because
CI.ymlis maturin-generated and a job added there would be lost on regeneration.cargo check --target wasm32-unknown-unknown --libnow exits 0;cargo teststill 31 passed.