← board

Rust frontend — integer overflow mode + format-string parser

What it does

1. Integer overflow mode. Rust panics on integer overflow in debug builds, wraps in release. PXX currently just wraps everywhere (like C). Add a mode flag, same pattern as the existing --no-div-check opt-out (see [[project_div_zero_re200_v135]] for the precedent this mirrors): a pre-op overflow check that raises/panics when the mode is on, no-ops (plain wrap, current behavior) when off. Cheap — one flag, one check site pattern already proven for div-by-zero.

2. Format-string mini-parser. println!("{} {:?}", a, b) needs a real format-spec parser: {} (Display), {:?} (Debug), positional/named args, width/precision/fill specifiers. Self-contained, bounded scope — nobody's designed this yet in this codebase. Feeds:

Scope

Acceptance

Log