add note about MAX_ALLOC_LIMIT
Co-authored-by: Ralf Jung <post@ralfj.de>
This commit is contained in:
parent
b201b2f65f
commit
d83c46ffcc
1 changed files with 1 additions and 1 deletions
|
@ -181,7 +181,7 @@ impl<'mir, 'tcx> ConstPropMachine<'mir, 'tcx> {
|
|||
|
||||
impl<'mir, 'tcx> interpret::Machine<'mir, 'tcx> for ConstPropMachine<'mir, 'tcx> {
|
||||
compile_time_machine!(<'mir, 'tcx>);
|
||||
const PANIC_ON_ALLOC_FAIL: bool = true; // all allocations are small
|
||||
const PANIC_ON_ALLOC_FAIL: bool = true; // all allocations are small (see `MAX_ALLOC_LIMIT`)
|
||||
|
||||
type MemoryKind = !;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue