diff --git a/.github/workflows/language_bindings.yml b/.github/workflows/language_bindings.yml index a5cfbf70b..8c61c77dc 100644 --- a/.github/workflows/language_bindings.yml +++ b/.github/workflows/language_bindings.yml @@ -65,7 +65,7 @@ jobs: echo "Win Module compiled with" echo "nim c --app:lib --out:../bindings/python/happyx/happyx.pyd -d:useRealtimeGC --mm:arc --tlsEmulation:off --passL:-static --t:-flto --l:-flto --opt:speed --threads:off -d:debug -d:httpx -d:export2py happyx" echo "Linux module" - nim c --app:lib --out:../bindings/python/happyx/happyx.so -d:useRealtimeGC --mm:arc -t:-flto -l:-flto --opt:speed --threads:on -d:ssl -d:debug -d:httpx -d:export2py happyx + nim c --app:lib --out:../bindings/python/happyx/happyx.so -d:useRealtimeGC --mm:arc -t:-flto -l:-flto --opt:speed --threads:on -d:debug -x:off -a:off -d:httpx -d:export2py happyx shell: bash - name: Build Package 🏗 diff --git a/bindings/python/happyx/happyx.pyd b/bindings/python/happyx/happyx.pyd index ad015dedc..5448a3aa9 100644 Binary files a/bindings/python/happyx/happyx.pyd and b/bindings/python/happyx/happyx.pyd differ diff --git a/build_py.cmd b/build_py.cmd index 58edf27fc..82807c8cb 100644 --- a/build_py.cmd +++ b/build_py.cmd @@ -1,4 +1,4 @@ echo "Build Python Win Bindings" cd src -nim c --app:lib --out:../bindings/python/happyx/happyx.pyd --tlsEmulation:off -d:useRealtimeGC --mm:arc -t:-flto -l:-flto --opt:speed -d:ssl --passL:-static --threads:off -d:debug -d:httpx -d:export2py happyx +nim c --app:lib --out:../bindings/python/happyx/happyx.pyd --tlsEmulation:off -d:useRealtimeGC --mm:arc -t:-flto -l:-flto --opt:speed -x:off -a:off --passL:-static --threads:off -d:debug -d:httpx -d:export2py happyx cd ../ diff --git a/src/happyx/private/macro_utils.nim b/src/happyx/private/macro_utils.nim index 3358d2e44..83fdbf284 100644 --- a/src/happyx/private/macro_utils.nim +++ b/src/happyx/private/macro_utils.nim @@ -455,7 +455,6 @@ proc buildHtmlProcedure*(root, body: NimNode, inComponent: bool = false, result = newCall("initTag", elementName) for statement in body: - echo treeRepr statement if statement.kind == nnkDiscardStmt: continue elif statement.kind == nnkPrefix and statement[0] == ident"!" and statement[1] == ident"debugRoot":