Skip to content

Commit

Permalink
Fix windows builds (again)
Browse files Browse the repository at this point in the history
  • Loading branch information
diegorusso committed Sep 19, 2024
1 parent d86e838 commit f523e6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tools/jit/_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
def _dump_footer(
groups: dict[str, _stencils.StencilGroup], symbols: dict[str | None, int]
) -> typing.Iterator[str]:
symbol_mask_size = math.ceil(len(symbols) / 32)
symbol_mask_size = max(math.ceil(len(symbols) / 32), 1)
yield f"typedef uint32_t SymbolMask[{symbol_mask_size}];"
yield ""
yield "typedef struct {"
Expand Down

0 comments on commit f523e6a

Please sign in to comment.