Skip to content

Commit 7679233

Browse files
nickysnalehander92
authored andcommitted
feat: support TraceLowLevelEvent::DropLastStep in write_trace()
1 parent af001f0 commit 7679233

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

runtime_tracing/src/capnptrace.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,14 +409,16 @@ pub fn write_trace(q: &[crate::TraceLowLevelEvent], output: &mut impl std::io::W
409409
},
410410
}
411411
}
412+
TraceLowLevelEvent::DropLastStep => {
413+
event.set_drop_last_step(());
414+
}
412415
TraceLowLevelEvent::DropVariables(vars) => todo!(),
413416
TraceLowLevelEvent::CompoundValue(cvr) => todo!(),
414417
TraceLowLevelEvent::CellValue(cvr) => todo!(),
415418
TraceLowLevelEvent::AssignCompoundItem(aci) => todo!(),
416419
TraceLowLevelEvent::AssignCell(acr) => todo!(),
417420
TraceLowLevelEvent::VariableCell(vcr) => todo!(),
418421
TraceLowLevelEvent::DropVariable(varid) => todo!(),
419-
TraceLowLevelEvent::DropLastStep => todo!(),
420422
}
421423
}
422424

0 commit comments

Comments
 (0)