mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Fix issue with asm_target initialized multiple times as mentioned in #989
This commit is contained in:
@@ -430,6 +430,7 @@ static void init_asm_x86(void)
|
||||
void init_asm(void)
|
||||
{
|
||||
if (asm_target.initialized) return;
|
||||
asm_target.initialized = true;
|
||||
switch (platform_target.arch)
|
||||
{
|
||||
case ARCH_UNSUPPORTED:
|
||||
|
||||
Reference in New Issue
Block a user