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
refactor(dfir_rs): use slotmap SecondaryMap for metrics, remove custom slot_vec tags
Replace custom `SecondarySlotVec<SubgraphTag, _>` and
`SecondarySlotVec<HandoffTag, _>` in DfirMetrics with
`slotmap::SecondaryMap<GraphSubgraphId, _>` and
`SecondaryMap<GraphNodeId, _>` from dfir_lang.
This eliminates the `slotmap_raw_idx` conversion hack in codegen —
keys are now reconstructed via `slotmap::KeyData::from_ffi()` which
preserves the full key (including version), not just the raw index.
Make `dfir_lang` a non-optional dependency of `dfir_rs` (it was already
always compiled via `dfir_macro`). Re-export `dfir_lang` and `slotmap`
from `dfir_rs` for use in generated code.
Remove `HandoffTag` and `HandoffId` from `scheduled/mod.rs` (no longer
needed). Update `hydro_lang/src/telemetry/emf.rs` to use `Debug`
formatting for slotmap keys instead of `Display`.
Co-authored-by: Infinity 🤖 <infinity@hydro.run>
0 commit comments