Hi, I must be doing something wrong, but I've tried a lot of various ways, and I can't figure out how to use the AutoHashMap.
Using the iterator methods always segfaults with this (full stack trace in the Gist link),
var it = state.SDLEventToAction.keyIterator();
while (it.next()) |known_key| {
Log.debug("Key ID {} found!\n", .{known_key});
}
Here's the full code, https://gist.github.com/jrasanen/aed02ceff46dbc787bf90a713176ea9b#file-main-zig-L109
Zig version: 0.11.0-dev.3964+3d5751b57, also tried 0.11.0-dev.3946.
Thanks!