Added forever loop

This commit is contained in:
2026-05-22 03:05:08 +02:00
parent d33763be2e
commit a26c1c31fb
5 changed files with 21 additions and 1 deletions
+5
View File
@@ -98,6 +98,11 @@ impl GenRust for Statement {
cg.ensure_brackets(ctx, body);
}
Statement::Loop(body) => {
cg.add("loop ");
cg.ensure_brackets_expr(ctx, body);
}
Statement::CStyleFor {
init,
condition,