Skip to content

Commit

Permalink
solve #197
Browse files Browse the repository at this point in the history
  • Loading branch information
Ethosa committed Nov 28, 2023
1 parent 2a8119c commit 56ea176
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/language_bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 🏗
Expand Down
Binary file modified bindings/python/happyx/happyx.pyd
Binary file not shown.
2 changes: 1 addition & 1 deletion build_py.cmd
Original file line number Diff line number Diff line change
@@ -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 ../
1 change: 0 additions & 1 deletion src/happyx/private/macro_utils.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down

0 comments on commit 56ea176

Please sign in to comment.