Closed
Description
The following code from the manual fails with rustboot 700e522.
$ rustboot sum.rs && ./sum
E:Assembly error: unrecognized quad 41: [edi + -(0xc + <frame spill fixup>.msz)] = [edi + -(0xc + <frame spill fixup>.msz)] add [esi + -(0x10 + <frame spill fixup>.msz)]
$ cat sum.rs
iter range(int a, int b) -> int {
check (a < b);
let int i = a;
while (i < b) {
put i;
i += 1;
}
}
fn main() {
let int sum = 0;
for each (int x in range(0, 100)) {
sum += x;
}
log sum;
}
Metadata
Metadata
Assignees
Labels
No labels