Displaying stack_limit
This commit is contained in:
committed by
Dan Gohman
parent
73b6468d25
commit
ddc8c91419
@@ -79,6 +79,11 @@ fn write_preamble(
|
||||
writeln!(w, " {} = {}", jt, jt_data)?;
|
||||
}
|
||||
|
||||
if let Some(stack_limit) = func.stack_limit {
|
||||
any = true;
|
||||
writeln!(w, " stack_limit = {}", stack_limit)?;
|
||||
}
|
||||
|
||||
Ok(any)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user