Skip to content

Commit a7fc816

Browse files
fix: update integration tests for new native address space restrictions (#1308)
* fix: fix some address spaces * fix: fix more tests * fix: fix or remove tests * fix: lint * Update crates/vm/tests/integration_test.rs --------- Co-authored-by: Jonathan Wang <[email protected]>
1 parent 13036e7 commit a7fc816

File tree

2 files changed

+157
-428
lines changed

2 files changed

+157
-428
lines changed

crates/vm/src/arch/segment.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,13 @@ impl DefaultSegmentationStrategy {
7070
max_cells_per_chip_in_segment: max_segment_len * 120,
7171
}
7272
}
73+
74+
pub fn new(max_segment_len: usize, max_cells_per_chip_in_segment: usize) -> Self {
75+
Self {
76+
max_segment_len,
77+
max_cells_per_chip_in_segment,
78+
}
79+
}
7380
}
7481

7582
impl SegmentationStrategy for DefaultSegmentationStrategy {

0 commit comments

Comments
 (0)