add comment about EXCEPTION_ID_LOOKUP sync

pull/167/head
Sebastien Bourdeauducq 11 months ago
parent f38117774f
commit b56b50b147
  1. 1
      src/runtime/src/eh_artiq.rs

@ -405,6 +405,7 @@ extern fn stop_fn(_version: c_int,
}
}
// Must be kept in sync with preallocate_runtime_exception_names() in artiq/language/embedding_map.py
static EXCEPTION_ID_LOOKUP: [(&str, u32); 10] = [
("RuntimeError", 0),
("RTIOUnderflow", 1),

Loading…
Cancel
Save