Include zig build in the build process.

This commit is contained in:
2025-11-07 04:43:54 +00:00
parent e644f1b2ca
commit 5c04940525
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