Skip to content

Commit fa0bfcb

Browse files
fix: keep old name aliases to for deserialization purposes
1 parent 9743858 commit fa0bfcb

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

crates/runner-shared/src/fifo.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,11 @@ const _: () = assert!(
2525
pub enum MarkerType {
2626
SampleStart(u64),
2727
SampleEnd(u64),
28+
// Old name is kept as an alias for backwards compatibility.
29+
#[serde(alias = "BenchmarkStart")]
2830
RoundStart(u64),
31+
// Old name is kept as an alias for backwards compatibility.
32+
#[serde(alias = "BenchmarkEnd")]
2933
RoundEnd(u64),
3034
}
3135

0 commit comments

Comments
 (0)