Stack overflow in Document::has_leading_newline
on large document
#4
Labels
bug
Something isn't working
Document::has_leading_newline
on large document
#4
The stack overflow occurs in the recursion at
miden-formatting/formatting/src/prettier/document.rs
Line 52 in edcd537
during pretty printing.
To reproduce: print a
midenc_codegen_masm::Program
emitted with stdlib.Workaround: increase the stack size via
RUST_MIN_STACK=104857600
env var.The text was updated successfully, but these errors were encountered: