Skip to content
This repository was archived by the owner on Mar 24, 2022. It is now read-only.

Commit 3cd23d7

Browse files
committed
hack: find a new magic number for stack overflow test
1 parent fde62fa commit 3cd23d7

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

  • lucet-runtime/lucet-runtime-tests/src

lucet-runtime/lucet-runtime-tests/src/stack.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,9 @@ macro_rules! stack_tests {
157157
expect_stack_overflow(
158158
// Same note as `expect_ok_locals64_481`
159159
stack_testcase(64 - 4).expect("generate stack_testcase 64"),
160-
481,
160+
// TODO: pick some high enough number that this test overflows still
161+
// cranelift changes made 480 the wrong magic number
162+
591,
161163
true,
162164
);
163165
}

0 commit comments

Comments
 (0)