Skip to content

Commit cea8a11

Browse files
committed
Remove stale includes
1 parent 8c30b33 commit cea8a11

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

mypyc/codegen/emitmodule.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -647,14 +647,6 @@ def generate_c_for_modules(self) -> list[tuple[str, str]]:
647647

648648
if self.compiler_options.depends_on_librt_internal:
649649
declarations.emit_line("#include <internal/librt_internal.h>")
650-
if any(LIBRT_BASE64 in mod.dependencies for mod in self.modules.values()):
651-
declarations.emit_line("#include <base64/librt_base64.h>")
652-
if any(LIBRT_STRINGS in mod.dependencies for mod in self.modules.values()):
653-
declarations.emit_line("#include <strings/librt_strings.h>")
654-
if any(LIBRT_TIME in mod.dependencies for mod in self.modules.values()):
655-
declarations.emit_line("#include <time/librt_time.h>")
656-
if any(LIBRT_VECS in mod.dependencies for mod in self.modules.values()):
657-
declarations.emit_line("#include <vecs/librt_vecs.h>")
658650
# Include headers for conditional source files
659651
source_deps = collect_source_dependencies(self.modules)
660652
for source_dep in sorted(source_deps, key=lambda d: d.path):

0 commit comments

Comments
 (0)