Prefix collision guard is now obsolete & wrong

This commit is contained in:
Reid 'arrdem' McKenzie 2021-08-12 14:26:57 -06:00
parent 85ba6dbf87
commit e74b71c369

View file

@ -79,13 +79,6 @@ def _zapp_impl(ctx):
ctx.workspace_name
])
for r0 in import_roots:
for r1 in import_roots:
if r0 == r1:
continue
elif r0.startswith(r1):
fail("Import root conflict between %s and %s" % r0, r1)
# Dealing with main
main_py_file = ctx.files.main
main_py_ref = ctx.attr.entry_point