Skip to content

Commit 0f1e2f7

Browse files
committed
Set unlimited stack size
TODO: doc
1 parent d83ae67 commit 0f1e2f7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

crates/ark/src/test/dummy_frontend.rs

+5
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ impl DummyArkFrontend {
3333
let frontend = DummyFrontend::new();
3434
let connection_file = frontend.get_connection_file();
3535

36+
// Needed!
37+
unsafe {
38+
libr::set(R_CStackLimit, usize::MAX);
39+
}
40+
3641
stdext::spawn!("dummy_kernel", || {
3742
crate::start::start_kernel(
3843
connection_file,

0 commit comments

Comments
 (0)