Include zig build in the build process.

This commit is contained in:
Leo Vasanko
2025-11-06 16:43:54 -06:00
parent f8cc02eb41
commit fbf9c944e6
6 changed files with 69 additions and 8 deletions
+1 -3
View File
@@ -39,9 +39,7 @@ def clean_declaration(text: str) -> str:
if "CRYPTO_ALIGN" in text and "typedef struct" in text:
# Replace "CRYPTO_ALIGN(N) uint8_t opaque[SIZE];" with "...;"
text = re.sub(
r"CRYPTO_ALIGN\s*\(\s*\d+\s*\)\s+uint8_t\s+opaque\[\d+\];",
"...;",
text
r"CRYPTO_ALIGN\s*\(\s*\d+\s*\)\s+uint8_t\s+opaque\[\d+\];", "...;", text
)
else:
# For non-struct declarations, just remove CRYPTO_ALIGN