Skip to content

Commit 197c684

Browse files
committed
Fix bindgen bug caused by rust-lang/rust-bindgen#45
1 parent a4371f4 commit 197c684

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ports/geckolib/binding_tools/regen.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ def zero_size_type(ty, flags):
426426

427427
# TODO: support more files, that's the whole point of this.
428428
assert len(current_target["files"]) == 1
429-
clang_flags.append(current_target["files"][0].format(objdir))
429+
flags.append(current_target["files"][0].format(objdir))
430430

431431
flags = bindgen + flags + ["--"] + clang_flags
432432

0 commit comments

Comments
 (0)