Skip to content

Commit 1b4aba6

Browse files
committed
Brandt's fix to the stencils
1 parent f6126b1 commit 1b4aba6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Tools/jit/_stencils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,7 @@ def process_relocations(
320320
elif (
321321
hole.kind in {"IMAGE_REL_AMD64_REL32"}
322322
and hole.value is HoleValue.ZERO
323+
and hole.symbol not in self.symbols
323324
):
324325
raise ValueError(
325326
f"Add PyAPI_FUNC(...) or PyAPI_DATA(...) to declaration of {hole.symbol}!"

0 commit comments

Comments
 (0)