Skip to content

Commit

Permalink
Set unlimited stack size
Browse files Browse the repository at this point in the history
TODO: doc
  • Loading branch information
lionel- committed Sep 24, 2024
1 parent d83ae67 commit 0f1e2f7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions crates/ark/src/test/dummy_frontend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ impl DummyArkFrontend {
let frontend = DummyFrontend::new();
let connection_file = frontend.get_connection_file();

// Needed!
unsafe {
libr::set(R_CStackLimit, usize::MAX);
}

stdext::spawn!("dummy_kernel", || {
crate::start::start_kernel(
connection_file,
Expand Down

0 comments on commit 0f1e2f7

Please sign in to comment.