runtime: fix EXCEPTION_ID_LOOKUP

This commit is contained in:
Sebastien Bourdeauducq 2022-03-26 20:09:11 +08:00
parent 866a83796a
commit 723f41c78b
1 changed files with 1 additions and 1 deletions

View File

@ -333,7 +333,7 @@ extern fn stop_fn(_version: c_int,
} }
} }
static EXCEPTION_ID_LOOKUP: [(&str, u32); 10] = [ static EXCEPTION_ID_LOOKUP: [(&str, u32); 11] = [
("RuntimeError", 0), ("RuntimeError", 0),
("RTIOUnderflow", 1), ("RTIOUnderflow", 1),
("RTIOOverflow", 2), ("RTIOOverflow", 2),