Teach asmintgen a small set of assertion instructions that lower to architecture traps when assertions are enabled. Keep them visible to the parser and register allocator in every build so release and distribution builds can compile them out without changing DSL liveness. Enable the assertion lowering for Debug and sanitizer builds. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.lock | ||
| Cargo.toml | ||