Skip to content

unrecognized quad 41 with iter #111

@rillian

Description

@rillian

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions