3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-05-13 10:44:45 +00:00

rtlil: less sketchy IdString interner lifetime

This commit is contained in:
Emil J. Tywoniak 2025-04-24 11:36:55 +02:00
parent 6a4281ad4f
commit 6e91f402df
3 changed files with 67 additions and 84 deletions

View file

@ -185,6 +185,7 @@ void yosys_setup()
if(already_setup)
return;
already_setup = true;
(void)Interner::instance();
#ifdef WITH_PYTHON
// With Python 3.12, calling PyImport_AppendInittab on an already